1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-24 19:33:01 +01:00
This commit is contained in:
gorhill 2016-12-03 14:03:28 -05:00
parent 235d1266e8
commit 4837b15895

View File

@ -40,7 +40,9 @@ var resizeFrame = function() {
var loadDashboardPanel = function() {
var pane = window.location.hash.slice(1);
if ( pane === '' ) {
pane = 'settings.html';
pane = vAPI.localStorage.getItem('dashboardLastVisitedPane') || 'settings.html';
} else {
vAPI.localStorage.setItem('dashboardLastVisitedPane', pane);
}
var tabButton = uDom('[href="#' + pane + '"]');
if ( !tabButton || tabButton.hasClass('selected') ) {