Swap 'all' and 'currently playing' options, make 'all' default.
This commit is contained in:
parent
8fa33ed7aa
commit
d88a6d2378
@ -78,7 +78,7 @@ function loadFrames(videoTab) {
|
||||
port.postMessage({cmd: 'popup-set-selected-tab', selectedMenu: selectedMenu, selectedSubitem: item});
|
||||
}
|
||||
|
||||
for (var option of [{id: '__playing', label: 'Currently playing'}, {id: '__all', label: 'All'}]) {
|
||||
for (var option of [{id: '__all', label: 'All'},{id: '__playing', label: 'Currently playing'}]) {
|
||||
const id = option.id;
|
||||
var newItem = new TabItem(
|
||||
undefined,
|
||||
@ -570,20 +570,6 @@ document.addEventListener("click", (e) => {
|
||||
return command;
|
||||
}
|
||||
//#endregion
|
||||
//#region show/hide custom ar
|
||||
if (e.target.classList.contains("_changeAr_show_customAr")) {
|
||||
VideoPanel.misc.customArChanger.classList.remove("hidden");
|
||||
VideoPanel.buttons.changeAr.showCustomAr.classList.add("hidden");
|
||||
VideoPanel.buttons.changeAr.hideCustomAr.classList.remove("hidden");
|
||||
return;
|
||||
}
|
||||
if (e.target.classList.contains("_changeAr_hide_customAr")) {
|
||||
VideoPanel.misc.customArChanger.classList.add("hidden");
|
||||
VideoPanel.buttons.changeAr.showCustomAr.classList.remove("hidden");
|
||||
VideoPanel.buttons.changeAr.hideCustomAr.classList.add("hidden");
|
||||
return;
|
||||
}
|
||||
//#endregion
|
||||
}
|
||||
|
||||
var command = getcmd(e);
|
||||
|
Loading…
Reference in New Issue
Block a user