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);
|
||||
};
|
||||
messager.send({ what: 'getWhitelist' }, onRead);
|
||||
whitelistChanged();
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
@ -116,8 +117,7 @@ var whitelistApplyHandler = function() {
|
|||
what: 'setWhitelist',
|
||||
whitelist: cachedWhitelist
|
||||
};
|
||||
messager.send(request);
|
||||
whitelistChanged();
|
||||
messager.send(request, renderWhitelist);
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue