mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Fixed a bug where sometimes thang avatar views wouldn't render the portrait, because 'loading' wouldn't be set to false properly.
This commit is contained in:
parent
b816055f9e
commit
ae8d28182c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class CocoModel extends Backbone.Model
|
|||
console.error("#{@} needs a className set.")
|
||||
@markToRevert()
|
||||
@addSchemaDefaults()
|
||||
@once 'sync', @onLoaded, @
|
||||
@on 'sync', @onLoaded, @
|
||||
@on 'error', @onError, @
|
||||
@saveBackup = _.debounce(@saveBackup, 500)
|
||||
|
||||
|
|
Loading…
Reference in a new issue