viewCurrentFeed() usage cleanup
This commit is contained in:
parent
ec39f07a84
commit
353221477b
12
tt-rss.js
12
tt-rss.js
|
@ -149,20 +149,12 @@ function catchupAllFeeds() {
|
||||||
|
|
||||||
function viewCurrentFeed(subop) {
|
function viewCurrentFeed(subop) {
|
||||||
|
|
||||||
// if (getActiveFeedId()) {
|
|
||||||
if (getActiveFeedId() != undefined) {
|
if (getActiveFeedId() != undefined) {
|
||||||
viewfeed(getActiveFeedId(), subop, activeFeedIsCat());
|
viewfeed(getActiveFeedId(), subop, activeFeedIsCat());
|
||||||
} else {
|
|
||||||
// viewfeed(-1, subop); // FIXME
|
|
||||||
}
|
}
|
||||||
return false; // block unneeded form submits
|
return false; // block unneeded form submits
|
||||||
}
|
}
|
||||||
|
|
||||||
/*function viewfeed(feed, subop) {
|
|
||||||
var f = window.frames["feeds-frame"];
|
|
||||||
f.viewfeed(feed, subop);
|
|
||||||
} */
|
|
||||||
|
|
||||||
function timeout() {
|
function timeout() {
|
||||||
if (getInitParam("bw_limit") == "1") return;
|
if (getInitParam("bw_limit") == "1") return;
|
||||||
|
|
||||||
|
@ -754,12 +746,12 @@ function collapse_feedlist() {
|
||||||
|
|
||||||
function viewModeChanged() {
|
function viewModeChanged() {
|
||||||
cache_flush();
|
cache_flush();
|
||||||
return viewCurrentFeed(0, '')
|
return viewCurrentFeed('')
|
||||||
}
|
}
|
||||||
|
|
||||||
function viewLimitChanged() {
|
function viewLimitChanged() {
|
||||||
cache_flush();
|
cache_flush();
|
||||||
return viewCurrentFeed(0, '')
|
return viewCurrentFeed('')
|
||||||
}
|
}
|
||||||
|
|
||||||
/* function adjustArticleScore(id, score) {
|
/* function adjustArticleScore(id, score) {
|
||||||
|
|
Loading…
Reference in New Issue