From 4458ea5d7dc16b03ccb917129d82015f303b14af Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 6 Jul 2015 10:19:17 -0400 Subject: [PATCH] this fixes net inspector interfering with modal dialogs --- src/js/logger-ui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index 248dcd8d5..b87b2cdd2 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -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;', '}'