summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristoph Brill <opensource@christophbrill.de>2022-12-09 20:01:57 +0100
committerChristoph Brill <opensource@christophbrill.de>2022-12-09 20:01:57 +0100
commit9eb0fbdc742b0b378ec0af0a33c21af16031f442 (patch)
tree1a2abe9d55641f0a00eb07933ad38d3b872a8404 /index.php
parentaa2e04d31ad7a0ebd89aa9510f5db8aa3db8051e (diff)
chore: Rename addUser to toggleUser
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 91276c2..ef10254 100755
--- a/index.php
+++ b/index.php
@@ -139,7 +139,7 @@ if (isset($date)) {
<span class="caret"></span></a>
<ul class="dropdown-menu" id="usernames">'.PHP_EOL;
foreach ($users as $user) {
- echo ' <li id="user_'.$user.'"><span class="checkbox user_'.str_replace('|', '_', $user).'"><a href="javascript:addUser(\''.$user.'\');">'.$user.'</a></span></li>'.PHP_EOL;
+ echo ' <li id="user_'.$user.'"><span class="checkbox user_'.str_replace('|', '_', $user).'"><a href="javascript:toggleUser(\''.$user.'\');">'.$user.'</a></span></li>'.PHP_EOL;
}
echo ' </ul>
</li>