mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:55:55 +00:00
simplified pane handling code somewhat
This commit is contained in:
9
prefs.js
9
prefs.js
@@ -7,7 +7,6 @@ var xmlhttp = false;
|
|||||||
|
|
||||||
var active_feed = false;
|
var active_feed = false;
|
||||||
var active_filter = false;
|
var active_filter = false;
|
||||||
var active_pane = false;
|
|
||||||
|
|
||||||
/*@cc_on @*/
|
/*@cc_on @*/
|
||||||
/*@if (@_jscript_version >= 5)
|
/*@if (@_jscript_version >= 5)
|
||||||
@@ -497,12 +496,6 @@ function expandPane(id) {
|
|||||||
|
|
||||||
var container;
|
var container;
|
||||||
|
|
||||||
/* if (active_pane) {
|
|
||||||
container = document.getElementById(active_pane);
|
|
||||||
container.innerHTML = "<a href=\"javascript:expandPane('" +
|
|
||||||
active_pane + "')\">Click to expand...</a>";
|
|
||||||
} */
|
|
||||||
|
|
||||||
container = document.getElementById(id);
|
container = document.getElementById(id);
|
||||||
|
|
||||||
if (id == "feedConfPane") {
|
if (id == "feedConfPane") {
|
||||||
@@ -510,8 +503,6 @@ function expandPane(id) {
|
|||||||
} else if (id == "filterConfPane") {
|
} else if (id == "filterConfPane") {
|
||||||
updateFilterList();
|
updateFilterList();
|
||||||
}
|
}
|
||||||
|
|
||||||
active_pane = id;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user