fix an oversight
This commit is contained in:
parent
fb7a168d31
commit
cf8bedfad9
@ -82,7 +82,7 @@ class PlayerNotificationUi extends UI {
|
||||
|
||||
//#region lifecycle
|
||||
replace(playerElement) {
|
||||
super.replace(this.getUiConfig(playerElement));
|
||||
super.replace(PlayerNotificationUi.getUiConfig(playerElement));
|
||||
}
|
||||
//#endregion
|
||||
|
||||
|
@ -104,7 +104,7 @@ class PlayerUi extends UI {
|
||||
//#region lifecycle
|
||||
replace(playerElement) {
|
||||
try {
|
||||
super.replace(this.getUiConfig(playerElement));
|
||||
super.replace(PlayerUi.getUiConfig(playerElement));
|
||||
} catch (e) {
|
||||
this.logger.log('error', 'Couldn\'t replace player element for ui. Error:', e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user