mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
Fixed models thinking they've got changes when they don't.
This commit is contained in:
parent
90c97008ae
commit
afc14e593d
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class CocoModel extends Backbone.Model
|
|||
storage.remove @id
|
||||
|
||||
hasLocalChanges: ->
|
||||
not _.isEqual @attributes, @_revertAttributes
|
||||
@_revertAttributes and not _.isEqual @attributes, @_revertAttributes
|
||||
|
||||
cloneNewMinorVersion: ->
|
||||
newData = _.clone @attributes
|
||||
|
|
Loading…
Reference in a new issue