mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01: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 renderPopupLazy = function() {
|
||||||
var onDataReady = function(data) {
|
var onDataReady = function(data) {
|
||||||
var v = data.hiddenElementCount;
|
var v = data.hiddenElementCount || '';
|
||||||
uDom('#noCosmeticFiltering > span.badge').text(
|
uDom('#noCosmeticFiltering > span.badge').text(
|
||||||
typeof v === 'number' ? v.toLocaleString() : v
|
typeof v === 'number' ? v.toLocaleString() : v
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user