Commit 966ab4e4855cb9db14c6217887818d1c270a14d7

Authored by Sergio Oliveira
1 parent 85b1bfa0

Not binding focus reply if user is not logged

src/super_archives/templates/message-thread.html
@@ -95,7 +95,9 @@ @@ -95,7 +95,9 @@
95 }); 95 });
96 96
97 $('.vote.btn', this).on('click', vote); 97 $('.vote.btn', this).on('click', vote);
98 - $('.reply.btn', this).on('click', focus_reply); 98 + {% if user.is_active %}
  99 + $('.reply.btn', this).on('click', focus_reply);
  100 + {% endif %}
99 }); 101 });
100 102
101 </script> 103 </script>