1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-25 11:52:51 +01:00

minor change in how filter list(s) are rendered

This commit is contained in:
gorhill 2015-06-14 07:56:12 -04:00
parent e247f28b73
commit 1b78be4b7c
3 changed files with 7 additions and 3 deletions

View File

@ -552,13 +552,17 @@
"description": "Firefox-specific: appears as 'uBlock₀ (off)'"
},
"docblockedPrompt1": {
"message": "uBlock has prevented the following page from loading:",
"message": "uBlock Origin has prevented the following page from loading:",
"description": "English: uBlock₀ has prevented the following page from loading:"
},
"docblockedPrompt2": {
"message": "Because of the following filter",
"description": "English: Because of the following filter"
},
"docblockedFoundIn": {
"message": "Found in:",
"description": "English: List of filter list names follows"
},
"docblockedBack": {
"message": "Go back",
"description": "English: Go back"

View File

@ -75,7 +75,7 @@ select {
<div>
<p data-i18n="docblockedPrompt2"></p>
<p id="why" class="code"></p><!--
--><span id="whyex" style="display: none;"><br>&#x2022; <span></span> &#x2022;</span>
--><span id="whyex" style="display: none;"><br><span data-i18n="docblockedFoundIn"></span> <span></span></span>
</div>
<div>

View File

@ -59,7 +59,7 @@ var details = {};
if ( Array.isArray(lists) === false || lists.length === 0 ) {
return;
}
var parent = uDom.nodeFromSelector('#whyex > span');
var parent = uDom.nodeFromSelector('#whyex > span:nth-of-type(2)');
var separator = '';
var entry, url, node;
for ( var i = 0; i < lists.length; i++ ) {