diff --git a/app/assets/javascripts/issuable_context.js.coffee b/app/assets/javascripts/issuable_context.js.coffee
index 6fc924d3d6612034aeed39f6b807ce7ab99d0a86..008f86c01a459ce0edc5ac2106f97116cc0936e2 100644
--- a/app/assets/javascripts/issuable_context.js.coffee
+++ b/app/assets/javascripts/issuable_context.js.coffee
@@ -9,9 +9,10 @@ class @IssuableContext
     $(".issuable-sidebar .inline-update").on "change", ".js-assignee", ->
       $(this).submit()
 
-    $(document).on "click",".edit-link", (e) ->
+    $(document).off("click", ".edit-link").on "click",".edit-link", (e) ->
       $block = $(@).parents('.block')
       $selectbox = $block.find('.selectbox')
+      console.log 'selectbox visible???', $selectbox.is(':visible')
       if $selectbox.is(':visible')
         $selectbox.hide()
         $block.find('.value').show()