Commit 966ab4e4855cb9db14c6217887818d1c270a14d7
1 parent
85b1bfa0
Exists in
master
and in
39 other branches
Not binding focus reply if user is not logged
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
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> |