summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-05-26 22:56:14 -0400
committerPhil Hughes <me@iamphill.com>2016-06-17 11:52:22 +0100
commit5eeccafca43839d50f228b98346c03bd169136bc (patch)
tree9c68b17f214133a277bbbd1943757067651fa9ef
parent1c3da0f72e86b80d14f59e4b2596513e06622100 (diff)
downloadgitlab-ce-5eeccafca43839d50f228b98346c03bd169136bc.tar.gz
Proper class jquery selector for `off`.
-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 2d0860ea3c7..3dcc5b24548 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').off()
+ $('.js-md').off()
) window \ No newline at end of file