Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-05-27 05:55:44 +0300
committerPhil Hughes <me@iamphill.com>2016-06-17 13:52:22 +0300
commit1c3da0f72e86b80d14f59e4b2596513e06622100 (patch)
tree8a9f81b410a5596ed769582a12d71476ebed2e65 /app/assets/javascripts/lib
parent118a42ce7f1d04720b57a6ab4c89939cfb640a7b (diff)
No need to add bold for the class selector for removing events
Diffstat (limited to 'app/assets/javascripts/lib')
-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