Browse Source

Make 1st and 3rd columns in logger clickable

These columns are unlikely to be used for text
selection, so there is no harm to make them
clickable.
pull/2/head
Raymond Hill 5 years ago
parent
commit
5c06fed370
No known key found for this signature in database GPG Key ID: 25E1490B761470C2
  1. 2
      src/css/logger-ui.css
  2. 2
      src/js/logger-ui.js

2
src/css/logger-ui.css

@ -384,6 +384,8 @@ body[dir="rtl"] #vwRenderer .logEntry > div > span:first-child {
font: 12px monospace;
text-align: center;
}
#vwRenderer .logEntry > div.canDetails:hover > span:nth-of-type(1),
#vwRenderer .logEntry > div.canDetails:hover > span:nth-of-type(3),
#vwRenderer .logEntry > div.canDetails:hover > span:nth-of-type(6) {
background: rgba(0, 0, 255, 0.1);
cursor: zoom-in;

2
src/js/logger-ui.js

@ -1129,7 +1129,7 @@ const reloadTab = function(ev) {
uDom('#netInspector').on(
'click',
'.canDetails > span:nth-of-type(6)',
'.canDetails > span:nth-of-type(1),.canDetails > span:nth-of-type(3),.canDetails > span:nth-of-type(6)',
ev => { toggleOn(ev); }
);
})();

Loading…
Cancel
Save