Skip to content

Commit

Permalink
No comment creation when button is disabled
Browse files Browse the repository at this point in the history
Closes #371
  • Loading branch information
LFDM committed Sep 12, 2014
1 parent 5536c8d commit 92170df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/arethusa.comments/comment_creator.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div delimiter/>
<div>
<span
ng-click="comments.creator = !comments.creator"
ng-click="comments.creator = (!comments.creator && active)"
ng-disabled="!active"
class="button radius micro"
translate="comments.newComment">
Expand Down

0 comments on commit 92170df

Please sign in to comment.