diff --git a/src/js/word-filter.js b/src/js/word-filter.js index a8d105174..ced7eac18 100644 --- a/src/js/word-filter.js +++ b/src/js/word-filter.js @@ -1,4 +1,6 @@ +import { setCustomThemeColors } from "./config"; import * as Misc from "./misc"; +import * as ThemeColors from "./theme-colors"; //import * as config from "./userconfig"; export async function showWordFilterPopup(){ @@ -13,6 +15,9 @@ export async function showWordFilterPopup(){ `) }) + $("#languageList").select2({ + minimumResultsForSearch: -1, + }); } function hideWordFilterPopup(){ @@ -70,7 +75,6 @@ async function filter(language){ let test2 = regexcl.test(word); if((test1 && !test2 || test1 && filterout == "") && word.length <= maxLength && word.length >= minLength){ filteredWords.push(word); - console.log(test1, test2, word, filterout, filterin, regexcl); } } return filteredWords; diff --git a/static/index.html b/static/index.html index 856c6c157..a4571c513 100644 --- a/static/index.html +++ b/static/index.html @@ -5,6 +5,7 @@ Monkeytype + @@ -3776,5 +3777,6 @@ +