mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
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:
parent
083f65ed5d
commit
f10076c87d
@ -290,6 +290,7 @@ class Package
|
||||
$(event.target).trigger(event)
|
||||
@restoreEventHandlersOnBubblePath(bubblePathEventHandlers)
|
||||
@unsubscribeFromActivationEvents()
|
||||
false
|
||||
|
||||
unsubscribeFromActivationEvents: ->
|
||||
return unless atom.workspaceView?
|
||||
|
Loading…
Reference in New Issue
Block a user