Fixed typo.

This commit is contained in:
Martin Edenhofer 2019-02-18 14:55:26 +01:00 committed by Martin Edenhofer
parent 10c47b6898
commit 5b24e7beaf
2 changed files with 2 additions and 2 deletions

View file

@ -339,7 +339,7 @@ class App.Controller extends Spine.Controller
stopPropagation: (e) -> stopPropagation: (e) ->
e.stopPropagation() e.stopPropagation()
preventDefaultAndstopPropagation: (e) -> preventDefaultAndStopPropagation: (e) ->
e.preventDefault() e.preventDefault()
e.stopPropagation() e.stopPropagation()

View file

@ -5,7 +5,7 @@ class App.TicketZoomAttributeBar extends App.Controller
events: events:
'mousedown .js-openDropdownMacro': 'toggleMacroMenu' 'mousedown .js-openDropdownMacro': 'toggleMacroMenu'
'click .js-openDropdownMacro': 'preventDefaultAndstopPropagation' 'click .js-openDropdownMacro': 'preventDefaultAndStopPropagation'
'mouseup .js-dropdownActionMacro': 'performTicketMacro' 'mouseup .js-dropdownActionMacro': 'performTicketMacro'
'mouseenter .js-dropdownActionMacro': 'onActionMacroMouseEnter' 'mouseenter .js-dropdownActionMacro': 'onActionMacroMouseEnter'
'mouseleave .js-dropdownActionMacro': 'onActionMacroMouseLeave' 'mouseleave .js-dropdownActionMacro': 'onActionMacroMouseLeave'