|
|
@ -556,7 +556,7 @@ var pageSelectorChanged = function() {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
document.getElementById('reloadTab').classList.toggle('disabled', tabId <= 0);
|
|
|
|
document.getElementById('reloadTab').classList.toggle('disabled', tabId <= 0);
|
|
|
|
document.getElementById('popupPanelButton').classList.toggle('disabled', tabId === 0);
|
|
|
|
document.getElementById('popupPanelButton').classList.toggle('disabled', tabId <= 0);
|
|
|
|
popupPanel.update();
|
|
|
|
popupPanel.update();
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -672,7 +672,7 @@ var popupPanel = (function() {
|
|
|
|
|
|
|
|
|
|
|
|
let start = function() {
|
|
|
|
let start = function() {
|
|
|
|
let newTabId = tabIdFromPageSelector();
|
|
|
|
let newTabId = tabIdFromPageSelector();
|
|
|
|
if ( newTabId === 0 ) {
|
|
|
|
if ( newTabId <= 0 ) {
|
|
|
|
return stop();
|
|
|
|
return stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( newTabId === tabId ) { return; }
|
|
|
|
if ( newTabId === tabId ) { return; }
|
|
|
|