1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

code review of 39277172e8: select "All" when kb shortcut from logger itself

This commit is contained in:
Raymond Hill 2018-06-03 19:49:08 -04:00
parent e227571969
commit b838e22024
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -42,8 +42,11 @@
break;
case 'launch-logger':
vAPI.tabs.get(null, function(tab) {
let hash = tab.url.startsWith(vAPI.getURL('')) ?
'' :
'#tab_active+' + tab.id;
µb.openNewTab({
url: 'logger-ui.html#tab_active+' + tab.id,
url: 'logger-ui.html' + hash,
select: true,
index: -1
});