diff --git a/htmlbars-plugins/touch-action.js b/htmlbars-plugins/touch-action.js index 15ae4ac..66de80a 100644 --- a/htmlbars-plugins/touch-action.js +++ b/htmlbars-plugins/touch-action.js @@ -146,7 +146,7 @@ function sexpr(node) { function setConfigValues(config) { config = config || {}; - touchActionOnAction = config.touchActionOnAction || touchActionOnAction; + touchActionOnAction = typeof config.touchActionOnAction === 'undefined' ? touchActionOnAction : config.touchActionOnAction; touchActionAttributes = config.touchActionAttributes || touchActionAttributes; touchActionSelectors = config.touchActionSelectors || touchActionSelectors; touchActionProperties = config.touchActionProperties || touchActionProperties;