summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-10-01 05:05:12 +0100
committerAndrew Dolgov <[email protected]>2006-10-01 05:05:12 +0100
commit461766f33ef735eca51d0bf63fa1557c59aa5451 (patch)
treea8705bc57d544fed10a1946d81257943136c1e3a /tt-rss.js
parent803cfab11a6f94bbd395d723c7522b5b5272b3db (diff)
add debug mode only fast user switcher
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index ed0f17924..2bd5068df 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -564,3 +564,8 @@ function catchupCurrentFeed() {
}
}
+function userSwitch() {
+ var chooser = document.getElementById("userSwitch");
+ var user = chooser[chooser.selectedIndex].value;
+ window.location = "tt-rss.php?swu=" + user;
+}