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:
parent
a27b46b817
commit
4458ea5d7d
@ -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;',
|
||||
'}'
|
||||
|
Loading…
Reference in New Issue
Block a user