Skip to content

Commit

Permalink
Merge pull request #794 from sparc-request/jl-search-tooltip-bug
Browse files Browse the repository at this point in the history
Adding delay to prevent description tooltip bug.
  • Loading branch information
jleonardw9 committed Dec 7, 2016
2 parents 601b96b + 4c056f5 commit 8ad2880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/catalog.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $(document).ready ->
}
}
).on('typeahead:render', (event, a, b, c) ->
$('[data-toggle="tooltip"]').tooltip()
$('[data-toggle="tooltip"]').tooltip({ 'delay' : { show: 1000, hide: 500 } })
).on('typeahead:select', (event, suggestion) ->
srid = $(this).data('srid')
id = suggestion.value
Expand Down

0 comments on commit 8ad2880

Please sign in to comment.