mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Minor fix
This commit is contained in:
parent
32889e0cf1
commit
b780e4e63b
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@ -8890,7 +8890,7 @@ var injectSettingsButton = function($parent) {
|
|||||||
document.activeElement && document.activeElement.blur();
|
document.activeElement && document.activeElement.blur();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (PREF_LATEST_VERSION && PREF_LATEST_VERSION !== SCRIPT_VERSION) {
|
if (!SCRIPT_VERSION.includes("beta") && PREF_LATEST_VERSION && PREF_LATEST_VERSION !== SCRIPT_VERSION) {
|
||||||
$settingsBtn.setAttribute("data-update-available", "true");
|
$settingsBtn.setAttribute("data-update-available", "true");
|
||||||
}
|
}
|
||||||
$headerFragment.appendChild($settingsBtn);
|
$headerFragment.appendChild($settingsBtn);
|
||||||
|
@ -48,7 +48,7 @@ function injectSettingsButton($parent?: HTMLElement) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Show new update status
|
// Show new update status
|
||||||
if (PREF_LATEST_VERSION && PREF_LATEST_VERSION !== SCRIPT_VERSION) {
|
if (!SCRIPT_VERSION.includes('beta') && PREF_LATEST_VERSION && PREF_LATEST_VERSION !== SCRIPT_VERSION) {
|
||||||
$settingsBtn.setAttribute('data-update-available', 'true');
|
$settingsBtn.setAttribute('data-update-available', 'true');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user