@@ -264,7 +264,6 @@ function setVolSliderSize() {
return;
addGlobalStyle(`\
-/* BetterYTM - set volume slider size */
#bytm-vol-slider-cont tp-yt-paper-slider#volume-slider {
width: ${size}px !important;
}`);
@@ -71,7 +71,8 @@ async function init() {
// init config
try {
- preInitLayout(await initConfig());
+ const ftConfig = await initConfig();
+ preInitLayout(ftConfig);
if(getFeatures().disableBeforeUnloadPopup)
disableBeforeUnload();
@@ -864,7 +864,7 @@ async function addChangelogMenu() {
closeElem.src = await getResourceUrl("close");
closeElem.title = "Click to close the menu";
closeElem.addEventListener("click", (e) => {
- closeImportMenu(e);
+ closeChangelogMenu(e);
openMenu();
});