Commit 6690d8e2 authored by Phil Hughes's avatar Phil Hughes

Correctly uses a variable with the text

parent f95f242c
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment