1
0
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:
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 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
); );