mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Restore $.fn.element property
We define element in certain space-pen views, but this makes it available for all jQuery objects. Can’t remove it from the prototype.
This commit is contained in:
@@ -69,4 +69,6 @@ jQuery(document.body).on 'show.bs.tooltip', ({target}) ->
|
||||
jQuery.fn.setTooltip.getKeystroke = getKeystroke
|
||||
jQuery.fn.setTooltip.humanizeKeystrokes = humanizeKeystrokes
|
||||
|
||||
Object.defineProperty jQuery.fn, 'element', get: -> @[0]
|
||||
|
||||
module.exports = spacePen
|
||||
|
||||
Reference in New Issue
Block a user