1
0
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:
gorhill 2015-04-05 16:23:36 -04:00
parent 581bc66509
commit 7306724174

View File

@ -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
);