Skip to content

Commit a9f71ec

Browse files
committed
Fix answerTypeFilter switch issue
1 parent fb8899d commit a9f71ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extension/background/contextMenus.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ function getFilterString(
1818
if (excludeDuplicateQuestionsFilter) {
1919
filterString += "duplicate:false ";
2020
}
21-
switch (answerTypeFilter) {
22-
//TODO: Fix me, I don't work for some reason. :(
21+
switch (parseInt(answerTypeFilter)) {
2322
case 1:
2423
filterString += "answers:1 ";
2524
break;

0 commit comments

Comments
 (0)