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
committerJacob Schatz <jschatz1@gmail.com>2016-05-27 05:55:44 +0300
commitb422603b7b097e81c6a44cc5d1c7d034e8249366 (patch)
tree1515b11622572db99f5778399e0ccf3412f36c64
parentb804194059925b8cb500366fadf0ae6dc182c84b (diff)
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