aboutsummaryrefslogtreecommitdiff
path: root/petrichor.js
diff options
context:
space:
mode:
authorDavid Fryer <dfryer1193@gmail.com>2016-02-18 21:19:16 -0500
committerDavid Fryer <dfryer1193@gmail.com>2016-02-18 21:19:16 -0500
commit9477b8413291a4beba3aa566963a3b6189951827 (patch)
tree631fa5ac09211be5977a2ce43d4f57deca87f805 /petrichor.js
parent01ed3385d5c688a78aa09232ed7d220bc9c50635 (diff)
downloadpetrichor-9477b8413291a4beba3aa566963a3b6189951827.tar.xz
Make users selectable with the keyboard
Change div to a. Turns users into links.
Diffstat (limited to 'petrichor.js')
-rw-r--r--petrichor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/petrichor.js b/petrichor.js
index c96c21e..5a8089c 100644
--- a/petrichor.js
+++ b/petrichor.js
@@ -133,7 +133,7 @@ function start()
else
image = user.image;
- document.write('<div class="user" id="user_' + user.name +'"onclick="start_authentication(\'' + user.name + '\')" style="cursor: pointer;">');
+ document.write('<a href="#" class="user" id="user_' + user.name +'"onclick="start_authentication(\'' + user.name + '\')" style="cursor: pointer;">');
document.write('<img class="avatar" src="file:///' + image + '" /><span class="name">'+user.display_name+'</span>');
if (user.name == lightdm.autologin_user && lightdm.autologin_timeout > 0)