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:
Scott Erickson 2014-05-19 21:14:27 -07:00
parent b816055f9e
commit ae8d28182c

View file

@ -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)