mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 09:09:38 +02:00
no badge if nothing hidden
This commit is contained in:
parent
581bc66509
commit
7306724174
@ -462,7 +462,7 @@ var renderPopup = function() {
|
||||
|
||||
var renderPopupLazy = function() {
|
||||
var onDataReady = function(data) {
|
||||
var v = data.hiddenElementCount;
|
||||
var v = data.hiddenElementCount || '';
|
||||
uDom('#noCosmeticFiltering > span.badge').text(
|
||||
typeof v === 'number' ? v.toLocaleString() : v
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user