fix reshares in interaction presenternavigate replace states on next or previous so back and forward work
default user image
This commit is contained in:
parent
3326bc5bb4
commit
9b9a64ffd0
2 changed files with 5 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ app.Router = Backbone.Router.extend({
|
||||||
|
|
||||||
function setPreloadAttributesAndNavigate(){
|
function setPreloadAttributesAndNavigate(){
|
||||||
window.preloads.post = post.attributes
|
window.preloads.post = post.attributes
|
||||||
app.router.navigate(post.url(), true)
|
app.router.navigate(post.url(), {trigger:true, replace: true})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,10 @@
|
||||||
|
|
||||||
height : 140px;
|
height : 140px;
|
||||||
width : 140px;
|
width : 140px;
|
||||||
background-position : center;
|
background : {
|
||||||
|
position : center;
|
||||||
|
image : image-url('user/default.png');
|
||||||
|
}
|
||||||
|
|
||||||
display : inline-block;
|
display : inline-block;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue