Prevent activation events from bubbling

The react editor is wrapped in another div with the class of .editor for
backward compatibility. This prevents activation events registered on
the .editor selector from being triggered twice.
This commit is contained in:
Nathan Sobo 2014-04-17 20:38:40 -06:00
parent 083f65ed5d
commit f10076c87d

View File

@ -290,6 +290,7 @@ class Package
$(event.target).trigger(event)
@restoreEventHandlersOnBubblePath(bubblePathEventHandlers)
@unsubscribeFromActivationEvents()
false
unsubscribeFromActivationEvents: ->
return unless atom.workspaceView?