aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--petrichor.css7
-rw-r--r--petrichor.js2
2 files changed, 8 insertions, 1 deletions
diff --git a/petrichor.css b/petrichor.css
index 36dc4d9..1b8684c 100644
--- a/petrichor.css
+++ b/petrichor.css
@@ -132,3 +132,10 @@ div.user
margin-right: 30px;
font-size: 240px;
}
+
+a
+{
+ text-decoration: none;
+ display: block;
+ color: white;
+}
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)