Fix not applying video settings in some cases

This commit is contained in:
redphx 2023-07-14 17:34:00 +07:00
parent fed7d489f4
commit 730799821b

View File

@ -745,8 +745,6 @@ function checkHeader() {
if (!$button) {
const $rightHeader = document.querySelector('#PageContent header div[class*=EdgewaterHeader-module__rightSectionSpacing]');
injectSettingsButton($rightHeader);
updateVideoPlayerCss();
}
}
@ -841,6 +839,8 @@ interceptHttpRequests();
patchVideoApi();
updateVideoPlayerCss();
// Workaround for Hermit browser
var onLoadTriggered = false;
window.onload = () => {