Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhanuc committed Sep 24, 2015
1 parent bbbfa26 commit 18dbbc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/js/db_func.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function update_single_field(type, value) {
var course = window.course;
db.get(course._id).then(function(doc) {
course._rev = doc._rev;
course._id = id;
course[type] = value
window.course = course
return db.put(course);
Expand Down
2 changes: 1 addition & 1 deletion app/js/single.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
return getelem('textarea-input').value
}
if (set) {
return getelem('textarea_input').value
return editor.setContent(set || 'Click here to edit', 0)
}
}
}
Expand Down

0 comments on commit 18dbbc0

Please sign in to comment.