mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 22:00:25 -04:00
I guess I'll be finding these for a while.
This commit is contained in:
parent
58f8eb6688
commit
848341dbd1
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module.exports = class VersionsModal extends ModalView
|
|||
|
||||
constructor: (options, @ID, @model) ->
|
||||
super options
|
||||
@original = new model(_id: @ID)
|
||||
@original = new @model(_id: @ID)
|
||||
@original = @supermodel.loadModel(@original, 'document').model
|
||||
@listenToOnce(@original, 'sync', @onViewSync)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue