Skip to content

Commit

Permalink
chore: remove unneeded type attribute on script
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jul 18, 2023
1 parent e3718d2 commit c9ef509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/default/widgets/online_user_count/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function(QueryBuilder $qb, $main_alias) {
echo elgg_echo('admin:statistics:label:onlineusers') . ": <strong>{$count}</strong>";

?>
<script type="text/javascript">
<script>
setTimeout(function(){
$(".elgg-widget-instance-online-user-count .elgg-widget-content").load(elgg.normalize_url("ajax/view/widgets/online_user_count/content"));
}, 60 * 1000);
Expand Down

0 comments on commit c9ef509

Please sign in to comment.