mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Add destroyTooltip()
This commit is contained in:
@@ -82,6 +82,10 @@ jQuery.fn.hideTooltip = ->
|
||||
tip.leave(currentTarget: this)
|
||||
tip.hide()
|
||||
|
||||
jQuery.fn.destroyTooltip = ->
|
||||
@hideTooltip()
|
||||
@tooltip('destroy')
|
||||
|
||||
jQuery.fn.setTooltip.getKeystroke = getKeystroke
|
||||
jQuery.fn.setTooltip.replaceModifiers = replaceModifiers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user