summaryrefslogtreecommitdiff
path: root/js/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-27 09:40:07 +0400
committerAndrew Dolgov <[email protected]>2013-03-27 09:40:07 +0400
commitf822a8e56c747a168e69c73d8519d8b08b3ae809 (patch)
treeb9ed1f6ac1fe54bde7562ccc74abdfbaba3b0864 /js/viewfeed.js
parent260501fddde2998647fbca0b80d0d9903b0578b3 (diff)
experimentally rebase labels; make base index configurable
Diffstat (limited to 'js/viewfeed.js')
-rw-r--r--js/viewfeed.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 794e94952..cc14461f4 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -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);
}
}
+