mirror of https://github.com/gorhill/uBlock.git
fix #2414
This commit is contained in:
parent
2a2cbdec1f
commit
798e21de36
|
@ -78,7 +78,7 @@ section > div:first-child > textarea {
|
|||
resize: none;
|
||||
width: 100%;
|
||||
}
|
||||
section > div:first-child > textarea + div {
|
||||
#resultsetCount {
|
||||
background-color: #aaa;
|
||||
bottom: 0;
|
||||
color: white;
|
||||
|
@ -86,7 +86,7 @@ section > div:first-child > textarea + div {
|
|||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
section.invalidFilter > div:first-child > textarea + div {
|
||||
section.invalidFilter #resultsetCount {
|
||||
background-color: red;
|
||||
}
|
||||
section > div:first-child + div {
|
||||
|
@ -183,7 +183,7 @@ body.paused > aside:hover {
|
|||
<section>
|
||||
<div>
|
||||
<textarea lang="en" dir="ltr" spellcheck="false"></textarea>
|
||||
<div></div>
|
||||
<div id="resultsetCount"></div>
|
||||
</div>
|
||||
<div><!--
|
||||
--><button id="preview" type="button">{{preview}}</button><!--
|
||||
|
|
|
@ -999,7 +999,7 @@ var onCandidateChanged = (function() {
|
|||
elems.push(items[i].elem);
|
||||
}
|
||||
}
|
||||
pickerBody.querySelector('body section textarea + div').textContent = valid ?
|
||||
pickerBody.querySelector('#resultsetCount').textContent = valid ?
|
||||
items.length.toLocaleString() :
|
||||
'E';
|
||||
dialog.querySelector('section').classList.toggle('invalidFilter', !valid);
|
||||
|
|
Loading…
Reference in New Issue