1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 02:12:44 +01:00

Allow rulesets enabled in manifest.json to stay enabled when finding language defaults

This commit is contained in:
Nadav Mermer 2024-07-04 11:54:17 +03:00
parent b3408a46d1
commit 2782b16ecf

View File

@ -428,7 +428,7 @@ async function updateDynamicRules() {
/******************************************************************************/
async function defaultRulesetsFromLanguage() {
const out = [ 'default' ];
const out = await dnr.getEnabledRulesets();
const dropCountry = lang => {
const pos = lang.indexOf('-');