diff --git a/ace-loader/plugin/templater/component_validator.js b/ace-loader/plugin/templater/component_validator.js index e8d920bd91594686b475e5c276d8f62836f7fd97..92928c0bb560b966ab00eab0030e3da9120f35ec 100644 --- a/ace-loader/plugin/templater/component_validator.js +++ b/ace-loader/plugin/templater/component_validator.js @@ -1036,7 +1036,7 @@ const EVENT_END_REGEXP = /(\.bubble|\.capture)$/; const START_CATCH_REGEXP = /^(grab:)/; const END_CAPTURE_REGEXP = /(\.capture)$/; const TOUCH_EVENT_REGEXP = /^(touch)/; -const CLICK_EVENT_REGEXP = /click/; +const CLICK_EVENT_REGEXP = /^(click)$/; const TOUCH_CAPTURE_EVENT_REGEXP = /^(?!touch).*?(\.capture)$/; /**