Mercurial > hg > rc1
diff plugins/thunderbird_labels/tb_label.js @ 1:5821049f1791
most of the way to allowing arbitrarily many labels
author | Charlie Root |
---|---|
date | Thu, 04 Jan 2018 16:23:36 -0500 |
parents | 1e000243b222 |
children | 7a7f68b4358e |
line wrap: on
line diff
--- a/plugins/thunderbird_labels/tb_label.js Thu Jan 04 15:50:29 2018 -0500 +++ b/plugins/thunderbird_labels/tb_label.js Thu Jan 04 16:23:36 2018 -0500 @@ -181,7 +181,7 @@ function rcm_tb_label_create_popupmenu() { - for (i = 0; i < 6; i++) + for (i = 0; i < 7; i++) { var cur_a = $('li.label' + i +' a'); @@ -197,7 +197,7 @@ function rcm_tb_label_init_onclick() { - for (i = 0; i < 6; i++) + for (i = 0; i < 7; i++) { // find the "HTML a tags" of tb-label submenus var cur_a = $('#tb_label_popup li.label' + i +' a'); @@ -219,7 +219,7 @@ if (toggle_label_no == 0) { from = 1; - to = 6; + to = 7; unset_all = true; } for (i = from; i < to; i++)