Skip to content
Snippets Groups Projects
Commit a121ee51 authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Off the event initially

parent e7650492
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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()
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment