Correctly uses a variable with the text
This commit is contained in:
parent
f95f242cfa
commit
6690d8e25b
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ class @Notes
|
||||||
reopenbtn.text(reopentext)
|
reopenbtn.text(reopentext)
|
||||||
|
|
||||||
if closebtn.text() isnt closetext
|
if closebtn.text() isnt closetext
|
||||||
closebtn.text(closebtn.data('original-text'))
|
closebtn.text(closetext)
|
||||||
|
|
||||||
if reopenbtn.is(':not(.btn-comment-and-reopen)')
|
if reopenbtn.is(':not(.btn-comment-and-reopen)')
|
||||||
reopenbtn.removeClass('btn-comment-and-reopen')
|
reopenbtn.removeClass('btn-comment-and-reopen')
|
||||||
|
|
Loading…
Reference in a new issue