mirror of https://github.com/gorhill/uBlock.git
fix #2206
This commit is contained in:
parent
235d1266e8
commit
4837b15895
|
@ -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') ) {
|
||||
|
|
Loading…
Reference in New Issue