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