diff --git a/app/assets/javascripts/app/pages/profile.js b/app/assets/javascripts/app/pages/profile.js index 22f9c0056..90c403761 100644 --- a/app/assets/javascripts/app/pages/profile.js +++ b/app/assets/javascripts/app/pages/profile.js @@ -28,8 +28,11 @@ app.pages.Profile = app.views.Base.extend({ this.stream = options && options.stream || new app.models.Stream() /* this needs to be fixed... used to be bound by this.model change event. - * will most likely result in spontaneous results :( */ - this.setPageTitleAndBackground() + * will most likely result in spontaneous results :( + * + * note: defer to make sure the call stack is emptied before calling this, buying us a little more time */ + _.defer(_.bind(this.setPageTitleAndBackground, this)) + /* binds for getting started pulsation */ this.stream.bind("fetched", this.pulsateNewPostControl, this)