Add setChildrenSupported to popup

This commit is contained in:
toasted-nutbread 2019-12-15 21:25:06 -05:00
parent 7140a19100
commit 41fadfd0a9
2 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class SettingsPopupPreview {
this.frontend.setEnabled = function () {};
this.frontend.searchClear = function () {};
this.frontend.popup.childrenSupported = false;
this.frontend.popup.setChildrenSupported(false);
await this.frontend.isPrepared();

View File

@ -135,6 +135,10 @@ class Popup {
}
}
setChildrenSupported(value) {
this.childrenSupported = value;
}
getContainer() {
return this.container;
}