mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Minor fixes
This commit is contained in:
parent
992605690f
commit
9322480059
@ -12186,7 +12186,7 @@ function handleDeepLink() {
|
||||
window.history.replaceState({origin: 'better-xcloud'}, '', window.location.href.substring(0, window.location.href.indexOf('#@')));
|
||||
|
||||
let path = '';
|
||||
if (hash.startsWith('#@play')) {
|
||||
if (window.location.href.indexOf('/play/launch/') === -1 && hash.startsWith('#@play')) {
|
||||
path = '/launch' + hash.substring(6);
|
||||
}
|
||||
|
||||
@ -12202,7 +12202,7 @@ function handleDeepLink() {
|
||||
}
|
||||
|
||||
const target = mutation.target;
|
||||
if (!handled && target.className && target.className.startsWith('AllGamesRow')) {
|
||||
if (!handled && target.className && target.className.startsWith && target.className.startsWith('AllGamesRow')) {
|
||||
observer.disconnect();
|
||||
|
||||
handled = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user