mirror of https://github.com/gorhill/uBlock.git
Forgot to commit last minute changes in element picker
Related commit:
- 260f762c83
This commit is contained in:
parent
6fd6f7f26b
commit
df83a0847f
|
@ -654,7 +654,6 @@ const showDialog = function(details) {
|
||||||
const depthInput = $stor('#resultsetDepth input');
|
const depthInput = $stor('#resultsetDepth input');
|
||||||
depthInput.max = cosmeticFilters.length - 1;
|
depthInput.max = cosmeticFilters.length - 1;
|
||||||
depthInput.value = depthInput.max;
|
depthInput.value = depthInput.max;
|
||||||
onDepthChanged();
|
|
||||||
|
|
||||||
dialog.querySelector('ul').style.display =
|
dialog.querySelector('ul').style.display =
|
||||||
netFilters.length || cosmeticFilters.length ? '' : 'none';
|
netFilters.length || cosmeticFilters.length ? '' : 'none';
|
||||||
|
@ -713,8 +712,6 @@ const startPicker = function() {
|
||||||
|
|
||||||
if ( pickerRoot.classList.contains('zap') ) { return; }
|
if ( pickerRoot.classList.contains('zap') ) { return; }
|
||||||
|
|
||||||
onSpecificityChanged();
|
|
||||||
|
|
||||||
taCandidate.addEventListener('input', onCandidateChanged);
|
taCandidate.addEventListener('input', onCandidateChanged);
|
||||||
$id('preview').addEventListener('click', onPreviewClicked);
|
$id('preview').addEventListener('click', onPreviewClicked);
|
||||||
$id('create').addEventListener('click', onCreateClicked);
|
$id('create').addEventListener('click', onCreateClicked);
|
||||||
|
|
Loading…
Reference in New Issue