* Theme onelinerz
* Make preview optional (will do later - need to work on bugs!) * Add to default menu.hjson
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user