make post load faster from profile to show
using dirty preloads for now. I like it dirty.
This commit is contained in:
parent
7a11e9fd37
commit
ca1a61825d
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ app.views.SmallFrame = app.views.Post.extend({
|
|||
|
||||
goToPost : function(evt) {
|
||||
if(evt) { evt.stopImmediatePropagation(); }
|
||||
window.preloads.post = this.model.attributes
|
||||
app.router.navigate(this.model.url(), true)
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue