summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-07-21 11:18:31 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-07-21 11:18:31 +0200
commit5e903b155ca1301cb3b01e77e9beaced8306407b (patch)
tree3fef847482d46a6aa250054ba887122d89338590
parent7c7573d7e9316bfe7387b788c8426b231b9a2ae0 (diff)
downloadjokevote-5e903b155ca1301cb3b01e77e9beaced8306407b.tar.gz
jokevote-5e903b155ca1301cb3b01e77e9beaced8306407b.zip
bugfix: do not log out when hovering over 'logout'
-rw-r--r--templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index b538026..8af43ee 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -20,7 +20,7 @@
<ul class="right">
<li>
{% if user.loggedin %}
- <a href="/logout">Logout ({{ user.name }})</a>
+ <a class="nosmooth" href="/logout">Logout ({{ user.name }})</a>
{% else %}
<a data-target="modal-login" class="modal-trigger" href="#modal-login">Login</a>
{% endif %}
@@ -31,7 +31,7 @@
</a>
</li>
<li class="hide-on-small-only">
- <a id="export" target="_blank" href="/export{{ query() }}">
+ <a class="nosmooth" id="export" target="_blank" href="/export{{ query() }}">
<i class="material-icons">file_download</i>
</a>
</li>
@@ -207,7 +207,7 @@
$('#smoothed').smoothState({
prefetch: true,
locationHeader: 'X-SmoothState-Location',
- blacklist: '#export',
+ blacklist: '.nosmooth',
onAfter: materialjs
});
});