import/export

This commit is contained in:
Mo Bitar
2016-12-11 23:43:06 -06:00
parent 358fd89989
commit 8ad3776819
13 changed files with 219 additions and 180 deletions

View File

@@ -102,7 +102,7 @@ angular.module('app.frontend')
this.setNote = function(note, oldNote) {
this.editorMode = 'edit';
if(note.text.length == 0) {
if(note.content.text.length == 0) {
this.focusTitle(100);
}
@@ -138,7 +138,7 @@ angular.module('app.frontend')
}
this.renderedContent = function() {
return markdownRenderer.renderHtml(markdownRenderer.renderedContentForText(this.note.text));
return markdownRenderer.renderHtml(markdownRenderer.renderedContentForText(this.note.content.text));
}
var statusTimeout;