mirror of https://github.com/gorhill/uBlock.git
popup may be closed before main process respond
This commit is contained in:
parent
235bce9faf
commit
6214591fb8
|
@ -475,6 +475,7 @@ var renderPopup = function() {
|
|||
|
||||
var renderPopupLazy = function() {
|
||||
var onDataReady = function(data) {
|
||||
if ( !data ) { return; }
|
||||
var v = data.hiddenElementCount || '';
|
||||
uDom.nodeFromSelector('#no-cosmetic-filtering > span.badge')
|
||||
.textContent = typeof v === 'number' ? v.toLocaleString() : v;
|
||||
|
|
Loading…
Reference in New Issue