Correctly uses a variable with the text

This commit is contained in:
Phil Hughes 2016-03-11 10:03:35 +00:00
parent f95f242cfa
commit 6690d8e25b
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ class @Notes
reopenbtn.text(reopentext)
if closebtn.text() isnt closetext
closebtn.text(closebtn.data('original-text'))
closebtn.text(closetext)
if reopenbtn.is(':not(.btn-comment-and-reopen)')
reopenbtn.removeClass('btn-comment-and-reopen')