this is a better solution for #400

This commit is contained in:
Raymond Hill 2014-12-08 14:12:08 -02:00
parent 922e638133
commit a909cc48d4
1 changed files with 3 additions and 1 deletions

View File

@ -679,7 +679,6 @@ var startPicker = function(details) {
var pickerStyle = document.createElement('style');
pickerStyle.setAttribute('scoped', '');
pickerStyle.style.setProperty('display', 'none', 'important');
pickerStyle.textContent = [
'#µBlock, #µBlock * {',
'background: transparent;',
@ -710,6 +709,9 @@ var startPicker = function(details) {
'top: 0;',
'left: 0;',
'}',
'#µBlock style, #µBlock script {',
'display: none;',
'}',
'#µBlock ul, #µBlock li, #µBlock div {',
'display: block;',
'}',