1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

this fixes net inspector interfering with modal dialogs

This commit is contained in:
gorhill 2015-07-06 10:19:17 -04:00
parent a27b46b817
commit 4458ea5d7d

View File

@ -689,7 +689,7 @@ var onLogBufferRead = function(response) {
if ( rowVoided ) { if ( rowVoided ) {
uDom('#clean').toggleClass( uDom('#clean').toggleClass(
'disabled', 'disabled',
tbody.querySelector('tr.tab:not(.canMtx)') === null tbody.querySelector('#netInspector tr.tab:not(.canMtx)') === null
); );
} }
@ -723,7 +723,7 @@ var pageSelectorChanged = function() {
} }
if ( tabClass !== '' ) { if ( tabClass !== '' ) {
sheet.insertRule( sheet.insertRule(
'table tr:not(.' + tabClass + ') { display: none; }', '#netInspector tr:not(.' + tabClass + ') { display: none; }',
0 0
); );
} }
@ -1574,7 +1574,7 @@ var clearBuffer = function() {
); );
uDom.nodeFromId('clean').classList.toggle( uDom.nodeFromId('clean').classList.toggle(
'disabled', 'disabled',
tbody.querySelector('tr.tab:not(.canMtx)') === null tbody.querySelector('#netInspector tr.tab:not(.canMtx)') === null
); );
}; };
@ -1611,7 +1611,7 @@ var popupManager = (function() {
var popupObserver = null; var popupObserver = null;
var style = null; var style = null;
var styleTemplate = [ var styleTemplate = [
'table tr:not(.tab_{{tabId}}) {', '#netInspector tr:not(.tab_{{tabId}}) {',
'cursor: not-allowed;', 'cursor: not-allowed;',
'opacity: 0.2;', 'opacity: 0.2;',
'}' '}'