mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +02:00
Update better-xcloud.user.js
This commit is contained in:
parent
ee4055e169
commit
91c8172564
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@ -5440,7 +5440,7 @@ class SettingsManager {
|
||||
getElement(pref, params) {
|
||||
if (!this.SETTINGS[pref]) this.SETTINGS[pref] = {};
|
||||
let $elm = this.SETTINGS[pref].$element;
|
||||
if (!$elm) $elm = SettingElement.fromPref(pref, () => {}, params), this.SETTINGS[pref].$element = $elm;
|
||||
if (!$elm) $elm = SettingElement.fromPref(pref, null, params), this.SETTINGS[pref].$element = $elm;
|
||||
return this.updateDataset($elm, pref), $elm;
|
||||
}
|
||||
updateDataset($elm, pref) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user