Skip to content

Commit

Permalink
Fix language options
Browse files Browse the repository at this point in the history
  • Loading branch information
brentspine authored Aug 2, 2024
1 parent 571d98f commit ad46743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


// @namespace http://tampermonkey.net/
// @version 1.3.1
// @version 1.3.2
// @match https://monkeytype.com/*
// @grant none
//
Expand Down Expand Up @@ -419,6 +419,6 @@
setInterval(function() {
const oldLang = localStorage.getItem("selected_lang");
const newLang = getSelectedLanguage();
if(oldLang !== newLang) nextQuote();
if(oldLang !== newLang) nextQuote(true);
}, LANGUAGE_CHANGE_CHECK_INTERVAL);
})();

0 comments on commit ad46743

Please sign in to comment.