mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
popup may be closed before main process respond
This commit is contained in:
parent
235bce9faf
commit
6214591fb8
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue