diff --git a/app/assets/javascripts/app/views/feedback_view.js b/app/assets/javascripts/app/views/feedback_view.js index 41e957c89..c230d2b4f 100644 --- a/app/assets/javascripts/app/views/feedback_view.js +++ b/app/assets/javascripts/app/views/feedback_view.js @@ -4,7 +4,6 @@ app.views.Feedback = app.views.Base.extend({ className : "info", events: { - "click *[rel='auth-required']" : "requireAuth", "click .like" : "toggleLike", "click .reshare" : "resharePost", "click .post_report" : "report" @@ -39,11 +38,5 @@ app.views.Feedback = app.views.Base.extend({ if(evt) { evt.preventDefault(); } if(!window.confirm(Diaspora.I18n.t("reshares.post", {name: this.model.reshareAuthor().name}))) { return } this.model.interactions.reshare(); - }, - - requireAuth : function(evt) { - if( app.currentUser.authenticated() ) { return } - alert("you must be logged in to do that!") - return false; } }); diff --git a/app/assets/templates/comment_tpl.jst.hbs b/app/assets/templates/comment_tpl.jst.hbs index 5d5c7c1cf..23eb368d9 100644 --- a/app/assets/templates/comment_tpl.jst.hbs +++ b/app/assets/templates/comment_tpl.jst.hbs @@ -7,14 +7,16 @@