Skip to content

Commit d84aeae

Browse files
committed
eshint: Fix 'cat_label' used out of scope.
1 parent cf3df6c commit d84aeae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gmail.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,11 +1566,11 @@ var Gmail_ = function(localJQuery) {
15661566
url += "&start=0";
15671567
}
15681568

1569+
var cat_label = "";
1570+
15691571
if(page.indexOf("label/") === 0) {
15701572
url += "&cat=" + page.split("/")[1] +"&search=cat";
15711573
} else if(page.indexOf("category/") === 0) {
1572-
var cat_label = "";
1573-
15741574
if(page.indexOf("forums") !== -1) {
15751575
cat_label = "group";
15761576
} else if(page.indexOf("updates") !== -1) {

0 commit comments

Comments
 (0)