mirror of https://github.com/gorhill/uBlock.git
Allow rulesets enabled in manifest.json to stay enabled when finding language defaults
This commit is contained in:
parent
b3408a46d1
commit
2782b16ecf
|
@ -428,7 +428,7 @@ async function updateDynamicRules() {
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
async function defaultRulesetsFromLanguage() {
|
async function defaultRulesetsFromLanguage() {
|
||||||
const out = [ 'default' ];
|
const out = await dnr.getEnabledRulesets();
|
||||||
|
|
||||||
const dropCountry = lang => {
|
const dropCountry = lang => {
|
||||||
const pos = lang.indexOf('-');
|
const pos = lang.indexOf('-');
|
||||||
|
|
Loading…
Reference in New Issue