|
@@ -7,7 +7,7 @@ import {
|
|
// layout
|
|
// layout
|
|
initQueueButtons, addWatermark,
|
|
initQueueButtons, addWatermark,
|
|
preInitLayout, removeUpgradeTab,
|
|
preInitLayout, removeUpgradeTab,
|
|
- initVolumeFeatures,
|
|
|
|
|
|
+ initVolumeFeatures, initAutoCloseToasts,
|
|
// lyrics
|
|
// lyrics
|
|
addMediaCtrlLyricsBtn, geniUrlBase,
|
|
addMediaCtrlLyricsBtn, geniUrlBase,
|
|
// input
|
|
// input
|
|
@@ -111,6 +111,9 @@ async function onDomLoad() {
|
|
if(features.anchorImprovements)
|
|
if(features.anchorImprovements)
|
|
addAnchorImprovements();
|
|
addAnchorImprovements();
|
|
|
|
|
|
|
|
+ if(features.closeToastsTimeout > 0)
|
|
|
|
+ initAutoCloseToasts();
|
|
|
|
+
|
|
initVolumeFeatures();
|
|
initVolumeFeatures();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -120,7 +123,7 @@ async function onDomLoad() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
catch(err) {
|
|
catch(err) {
|
|
- error("General error while executing feature:", err);
|
|
|
|
|
|
+ error("Feature error:", err);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|