1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 09:09:38 +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 ) {
uDom('#clean').toggleClass(
'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 !== '' ) {
sheet.insertRule(
'table tr:not(.' + tabClass + ') { display: none; }',
'#netInspector tr:not(.' + tabClass + ') { display: none; }',
0
);
}
@ -1574,7 +1574,7 @@ var clearBuffer = function() {
);
uDom.nodeFromId('clean').classList.toggle(
'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 style = null;
var styleTemplate = [
'table tr:not(.tab_{{tabId}}) {',
'#netInspector tr:not(.tab_{{tabId}}) {',
'cursor: not-allowed;',
'opacity: 0.2;',
'}'