diff options
Diffstat (limited to 'plugins/Morpheus/javascripts/piwikHelper.js')
-rw-r--r-- | plugins/Morpheus/javascripts/piwikHelper.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Morpheus/javascripts/piwikHelper.js b/plugins/Morpheus/javascripts/piwikHelper.js index 6897634b6c..ab0a8eb8b5 100644 --- a/plugins/Morpheus/javascripts/piwikHelper.js +++ b/plugins/Morpheus/javascripts/piwikHelper.js @@ -258,8 +258,11 @@ window.piwikHelper = { }, compileVueDirectives: function (selector) { - $('[vue-directive]', selector).add($(selector).filter('[vue-entry]')).each(function () { + $('[vue-directive]', selector).add($(selector).filter('[vue-directive]')).each(function () { var vueDirectiveName = $(this).attr('vue-directive'); + if (!vueDirectiveName) { + return; + } var parts = vueDirectiveName.split('.'); if (parts.length !== 2) { |