diff --git a/app/assets/javascripts/app/router.js b/app/assets/javascripts/app/router.js index 1af163bc0..4999bc155 100644 --- a/app/assets/javascripts/app/router.js +++ b/app/assets/javascripts/app/router.js @@ -37,7 +37,7 @@ app.Router = Backbone.Router.extend({ function setPreloadAttributesAndNavigate(){ window.preloads.post = post.attributes - app.router.navigate(post.url(), true) + app.router.navigate(post.url(), {trigger:true, replace: true}) } }, diff --git a/app/assets/stylesheets/new_styles/_profile.scss b/app/assets/stylesheets/new_styles/_profile.scss index f558be3a3..8a499ce11 100644 --- a/app/assets/stylesheets/new_styles/_profile.scss +++ b/app/assets/stylesheets/new_styles/_profile.scss @@ -53,7 +53,10 @@ height : 140px; width : 140px; - background-position : center; + background : { + position : center; + image : image-url('user/default.png'); + } display : inline-block;