mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Minor fix
This commit is contained in:
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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user