From: Andrew Dolgov Date: Fri, 24 Aug 2007 04:40:51 +0000 (+0100) Subject: remove obsolete userSwitch() X-Git-Tag: 1.2.15~77 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6b8bbd1dae40d483543d452dd3e6109338d9c24f;p=tt-rss.git remove obsolete userSwitch() --- diff --git a/prefs.js b/prefs.js index 44b79fc7..40dd5ff5 100644 --- a/prefs.js +++ b/prefs.js @@ -1635,12 +1635,6 @@ function pref_hotkey_handler(e) { } } -function userSwitch() { - var chooser = document.getElementById("userSwitch"); - var user = chooser[chooser.selectedIndex].value; - window.location = "prefs.php?swu=" + user; -} - function editFeedCats() { if (!xmlhttp_ready(xmlhttp)) { printLockingError(); diff --git a/tt-rss.js b/tt-rss.js index 8665d29a..6a0ae0f9 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -638,12 +638,6 @@ function catchupCurrentFeed() { } } -function userSwitch() { - var chooser = document.getElementById("userSwitch"); - var user = chooser[chooser.selectedIndex].value; - window.location = "tt-rss.php?swu=" + user; -} - function editFeedDlg(feed) { try {