]> git.wh0rd.org - tt-rss.git/blobdiff - js/viewfeed.js
experimentally rebase labels; make base index configurable
[tt-rss.git] / js / viewfeed.js
index 794e94952d566099afca3a1e0be003638753a140..cc14461f4c5d6bb196f28a5957b71ecb8aa89acf 100644 (file)
@@ -1920,7 +1920,7 @@ function initHeadlinesMenu() {
                                var bare_id = id.substr(id.indexOf(":")+1);
                                var name = label.name[0];
 
-                               bare_id = -11-bare_id;
+                               bare_id = feed_to_label_id(bare_id);
 
                                labelAddMenu.addChild(new dijit.MenuItem({
                                        label: name,
@@ -2120,3 +2120,4 @@ function displayArticleUrl(id) {
                exception_error("changeScore", e);
        }
 }
+