mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Don't override the default options!
This commit is contained in:
@@ -74,7 +74,7 @@ jQuery.fn.setTooltip = (tooltipOptions, {command, commandElement}={}) ->
|
||||
|
||||
tooltipOptions.title = "#{tooltipOptions.title} #{getKeystroke(bindings)}"
|
||||
|
||||
this.tooltip(jQuery.extend(tooltipDefaults, tooltipOptions))
|
||||
this.tooltip(jQuery.extend({}, tooltipDefaults, tooltipOptions))
|
||||
|
||||
jQuery.fn.setTooltip.getKeystroke = getKeystroke
|
||||
jQuery.fn.setTooltip.replaceModifiers = replaceModifiers
|
||||
|
||||
Reference in New Issue
Block a user