mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-06-28 16:10:05 +08:00
Uses localstorage db in offline mode
This commit is contained in:
@@ -127,6 +127,7 @@ define(
|
||||
var value = this.$input.val().trim();
|
||||
if (value === '') {
|
||||
this.model.destroy();
|
||||
// collection.at(this.model.get('id')).destroy();
|
||||
} else {
|
||||
this.model.save({
|
||||
content: value,
|
||||
|
||||
Reference in New Issue
Block a user