mirror of https://github.com/gorhill/uBlock.git
more changes related to fix to #405
This commit is contained in:
parent
084a1ef8d0
commit
49d77eab05
|
@ -58,6 +58,7 @@ var renderWhitelist = function() {
|
||||||
uDom('#whitelist').val(cachedWhitelist);
|
uDom('#whitelist').val(cachedWhitelist);
|
||||||
};
|
};
|
||||||
messager.send({ what: 'getWhitelist' }, onRead);
|
messager.send({ what: 'getWhitelist' }, onRead);
|
||||||
|
whitelistChanged();
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
@ -116,8 +117,7 @@ var whitelistApplyHandler = function() {
|
||||||
what: 'setWhitelist',
|
what: 'setWhitelist',
|
||||||
whitelist: cachedWhitelist
|
whitelist: cachedWhitelist
|
||||||
};
|
};
|
||||||
messager.send(request);
|
messager.send(request, renderWhitelist);
|
||||||
whitelistChanged();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue