mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Fix not applying video settings in some cases
This commit is contained in:
parent
fed7d489f4
commit
730799821b
@ -745,8 +745,6 @@ function checkHeader() {
|
|||||||
if (!$button) {
|
if (!$button) {
|
||||||
const $rightHeader = document.querySelector('#PageContent header div[class*=EdgewaterHeader-module__rightSectionSpacing]');
|
const $rightHeader = document.querySelector('#PageContent header div[class*=EdgewaterHeader-module__rightSectionSpacing]');
|
||||||
injectSettingsButton($rightHeader);
|
injectSettingsButton($rightHeader);
|
||||||
|
|
||||||
updateVideoPlayerCss();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -841,6 +839,8 @@ interceptHttpRequests();
|
|||||||
|
|
||||||
patchVideoApi();
|
patchVideoApi();
|
||||||
|
|
||||||
|
updateVideoPlayerCss();
|
||||||
|
|
||||||
// Workaround for Hermit browser
|
// Workaround for Hermit browser
|
||||||
var onLoadTriggered = false;
|
var onLoadTriggered = false;
|
||||||
window.onload = () => {
|
window.onload = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user