Commit a121ee51 authored by Jacob Schatz's avatar Jacob Schatz

Off the event initially

parent e7650492
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment