1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-05 02:08:14 +09:00

Update photo-stream.vue

This commit is contained in:
syuilo 2018-12-06 16:19:12 +09:00
parent dea8688c9d
commit 5d3d8dffd6
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -10,7 +10,6 @@
:style="`background-image: url(${image.thumbnailUrl || image.url})`"
draggable="true"
@dragstart="onDragstart(image, $event)"
@dragend="onDragend"
></div>
</div>
<p :class="$style.empty" v-if="!fetching && images.length == 0">{{ $t('no-photos') }}</p>
@ -78,10 +77,6 @@ export default define({
e.dataTransfer.effectAllowed = 'move';
e.dataTransfer.setData('mk_drive_file', JSON.stringify(file));
},
onDragend(e) {
this.browser.isDragSource = false;
},
}
});
</script>