diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-05-26 22:55:44 -0400 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-17 11:52:22 +0100 |
commit | 1c3da0f72e86b80d14f59e4b2596513e06622100 (patch) | |
tree | 8a9f81b410a5596ed769582a12d71476ebed2e65 | |
parent | 118a42ce7f1d04720b57a6ab4c89939cfb640a7b (diff) | |
download | gitlab-ce-1c3da0f72e86b80d14f59e4b2596513e06622100.tar.gz |
No need to add bold for the class selector for removing events
-rw-r--r-- | app/assets/javascripts/lib/text_utility.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/text_utility.js.coffee b/app/assets/javascripts/lib/text_utility.js.coffee index 933df1b0d50..2d0860ea3c7 100644 --- a/app/assets/javascripts/lib/text_utility.js.coffee +++ b/app/assets/javascripts/lib/text_utility.js.coffee @@ -124,6 +124,6 @@ gl.text._previousState = $thisTextarea.val() gl.text.removeListeners = () -> - $('js-md.btn-bold').off() + $('js-md').off() ) window
\ No newline at end of file |