mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-11 15:47:47 +02:00
Fix crashing in "disableTouchContextMenu" patch
This commit is contained in:
@@ -962,7 +962,7 @@ if (this.baseStorageKey in window.BX_EXPOSED.overrideSettings) {
|
||||
return false;
|
||||
}
|
||||
|
||||
str = PatcherUtils.replaceWith(str, index, 'return', 'return null;');
|
||||
str = PatcherUtils.replaceWith(str, index, 'return', 'return () => {};');
|
||||
return str;
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user