diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index d7ff9b9a5..f442b2a08 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -61,6 +61,16 @@ module.exports = { { test: /\.vue$/, loader: 'vue-loader', + options: { + compilerOptions: { + isCustomElement(tag) { + if (tag === 'pinch-zoom') { + return true + } + return false + } + } + } }, { test: /\.jsx?$/, diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index f2e1b5ce5..ccf6e3e21 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -22,7 +22,6 @@ class="gallery-item" :nsfw="nsfw" :attachment="attachment" - :allow-play="false" :size="size" :editable="editable" :remove="removeAttachment" diff --git a/src/components/mentions_line/mentions_line.vue b/src/components/mentions_line/mentions_line.vue index f375e3b09..09b6a1d6c 100644 --- a/src/components/mentions_line/mentions_line.vue +++ b/src/components/mentions_line/mentions_line.vue @@ -6,7 +6,6 @@ class="mention-link" :content="mention.content" :url="mention.url" - :first-mention="false" />