mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 10:09:38 +02:00
this fixes #414
This commit is contained in:
parent
f7860cab7c
commit
22fe58e59a
@ -676,6 +676,7 @@ var stopPicker = function() {
|
||||
var startPicker = function(details) {
|
||||
pickerRoot = document.createElement('div');
|
||||
pickerRoot.id = µBlockId;
|
||||
pickerRoot.setAttribute('lang', navigator.language);
|
||||
|
||||
var pickerStyle = document.createElement('style');
|
||||
pickerStyle.setAttribute('scoped', '');
|
||||
@ -873,7 +874,7 @@ var startPicker = function(details) {
|
||||
divDialog = document.createElement('div');
|
||||
divDialog.innerHTML = [
|
||||
'<div>',
|
||||
'<textarea dir="ltr" spellcheck="false"></textarea>',
|
||||
'<textarea lang="en" dir="ltr" spellcheck="false"></textarea>',
|
||||
'<div>',
|
||||
'<button id="create" type="button" disabled="disabled">.</button>',
|
||||
'<button id="pick" type="button">.</button>',
|
||||
@ -881,8 +882,8 @@ var startPicker = function(details) {
|
||||
'</div>',
|
||||
'</div>',
|
||||
'<ul>',
|
||||
'<li id="netFilters"><span>.</span><ul></ul></li>',
|
||||
'<li id="cosmeticFilters"><span>.</span> <span>.</span><ul></ul></li>',
|
||||
'<li id="netFilters"><span>.</span><ul lang="en"></ul></li>',
|
||||
'<li id="cosmeticFilters"><span>.</span> <span>.</span><ul lang="en"></ul></li>',
|
||||
'</ul>'
|
||||
].join('');
|
||||
pickerRoot.appendChild(divDialog);
|
||||
|
Loading…
Reference in New Issue
Block a user