Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/erikdubbelboer/phpRedisAdmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorErik Dubbelboer <erik@dubbelboer.com>2011-08-03 23:52:58 +0400
committerErik Dubbelboer <erik@dubbelboer.com>2011-08-03 23:52:58 +0400
commitb0f45785be2489d175e2854d4f7afdeeb5d870bd (patch)
tree9987dcaaebec4768992d5c9882653450fbd74f7c /js
parent90d1bb4800dae07362724adc8e6784db667868a8 (diff)
per user servers, logout button
Diffstat (limited to 'js')
-rw-r--r--js/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/index.js b/js/index.js
index 472090a..87fd301 100644
--- a/js/index.js
+++ b/js/index.js
@@ -1,6 +1,10 @@
$(function() {
$('#sidebar a').click(function(e) {
+ if (e.currentTarget.href.indexOf('/?') == -1) {
+ return;
+ }
+
e.preventDefault();
var href;