mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 20:18:25 +02:00
* Theme onelinerz
* Make preview optional (will do later - need to work on bugs!) * Add to default menu.hjson
This commit is contained in:
parent
96348d5ed8
commit
e989010e63
3 changed files with 208 additions and 89 deletions
|
@ -209,7 +209,11 @@ function OnelinerzModule(options) {
|
|||
const previewView = self.viewControllers.add.getView(MciCodeIds.AddForm.EntryPreview);
|
||||
|
||||
newEntryView.setText('');
|
||||
previewView.setText('');
|
||||
|
||||
// preview is optional
|
||||
if(previewView) {
|
||||
previewView.setText('');
|
||||
}
|
||||
};
|
||||
|
||||
this.menuMethods = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue