summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-05-26 22:55:44 -0400
committerPhil Hughes <me@iamphill.com>2016-06-17 11:52:22 +0100
commit1c3da0f72e86b80d14f59e4b2596513e06622100 (patch)
tree8a9f81b410a5596ed769582a12d71476ebed2e65
parent118a42ce7f1d04720b57a6ab4c89939cfb640a7b (diff)
downloadgitlab-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.coffee2
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