mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-28 06:54:13 -04: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.")
|
console.error("#{@} needs a className set.")
|
||||||
@markToRevert()
|
@markToRevert()
|
||||||
@addSchemaDefaults()
|
@addSchemaDefaults()
|
||||||
@once 'sync', @onLoaded, @
|
@on 'sync', @onLoaded, @
|
||||||
@on 'error', @onError, @
|
@on 'error', @onError, @
|
||||||
@saveBackup = _.debounce(@saveBackup, 500)
|
@saveBackup = _.debounce(@saveBackup, 500)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue