diff --git a/app/assets/javascripts/app/controllers/_application_controller.coffee b/app/assets/javascripts/app/controllers/_application_controller.coffee index f8fcd6092..e082cb166 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.coffee @@ -339,7 +339,7 @@ class App.Controller extends Spine.Controller stopPropagation: (e) -> e.stopPropagation() - preventDefaultAndstopPropagation: (e) -> + preventDefaultAndStopPropagation: (e) -> e.preventDefault() e.stopPropagation() diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/attribute_bar.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/attribute_bar.coffee index 79e9a79a3..a3c7d485d 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/attribute_bar.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/attribute_bar.coffee @@ -5,7 +5,7 @@ class App.TicketZoomAttributeBar extends App.Controller events: 'mousedown .js-openDropdownMacro': 'toggleMacroMenu' - 'click .js-openDropdownMacro': 'preventDefaultAndstopPropagation' + 'click .js-openDropdownMacro': 'preventDefaultAndStopPropagation' 'mouseup .js-dropdownActionMacro': 'performTicketMacro' 'mouseenter .js-dropdownActionMacro': 'onActionMacroMouseEnter' 'mouseleave .js-dropdownActionMacro': 'onActionMacroMouseLeave'