mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01: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 ) {
|
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;',
|
||||||
'}'
|
'}'
|
||||||
|
Loading…
Reference in New Issue
Block a user