diff --git a/themes/vue/source/js/common.js b/themes/vue/source/js/common.js index bdc1add198..91d12ff8f7 100644 --- a/themes/vue/source/js/common.js +++ b/themes/vue/source/js/common.js @@ -147,7 +147,7 @@ var modalButton = document.getElementById('modal-player') var videoModal = document.getElementById('video-modal') - if (!modalButton || !videoWrapper) { + if (!modalButton || !videoModal) { return }