mirror of https://github.com/gorhill/uBlock.git
couple of glitches
This commit is contained in:
parent
db7754e286
commit
c859100327
|
@ -117,6 +117,7 @@ function renderBlacklists() {
|
||||||
return html.join('');
|
return html.join('');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var listStatsTemplate = chrome.i18n.getMessage('3pListsOfBlockedHostsPerListStats');
|
||||||
var blacklists = µb.remoteBlacklists;
|
var blacklists = µb.remoteBlacklists;
|
||||||
var ul = $('#blacklists');
|
var ul = $('#blacklists');
|
||||||
var keys = Object.keys(blacklists);
|
var keys = Object.keys(blacklists);
|
||||||
|
@ -134,7 +135,7 @@ function renderBlacklists() {
|
||||||
child.attr('href', encodeURI(blacklistHref));
|
child.attr('href', encodeURI(blacklistHref));
|
||||||
child.html(prettifyListName(blacklist.title, blacklistHref));
|
child.html(prettifyListName(blacklist.title, blacklistHref));
|
||||||
child = $('span', li);
|
child = $('span', li);
|
||||||
text = chrome.i18n.getMessage('3pListsOfBlockedHostsPerListStats')
|
text = listStatsTemplate
|
||||||
.replace('{{used}}', !blacklist.off && !isNaN(+blacklist.entryUsedCount) ? renderNumber(blacklist.entryUsedCount) : '0')
|
.replace('{{used}}', !blacklist.off && !isNaN(+blacklist.entryUsedCount) ? renderNumber(blacklist.entryUsedCount) : '0')
|
||||||
.replace('{{total}}', !isNaN(+blacklist.entryCount) ? renderNumber(blacklist.entryCount) : '?')
|
.replace('{{total}}', !isNaN(+blacklist.entryCount) ? renderNumber(blacklist.entryCount) : '?')
|
||||||
;
|
;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "__MSG_extName__",
|
"name": "__MSG_extName__",
|
||||||
"short_name": "µBlock",
|
"short_name": "µBlock",
|
||||||
"version": "0.1.0.0",
|
"version": "0.1.0.2",
|
||||||
"description": "__MSG_extShortDesc__",
|
"description": "__MSG_extShortDesc__",
|
||||||
"icons": {
|
"icons": {
|
||||||
"16": "img/icon_16.png",
|
"16": "img/icon_16.png",
|
||||||
|
|
Loading…
Reference in New Issue