mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Update photo-stream.vue
This commit is contained in:
parent
379f79130b
commit
ecfb533fdf
@ -10,7 +10,6 @@
|
|||||||
:style="`background-image: url(${image.thumbnailUrl || image.url})`"
|
:style="`background-image: url(${image.thumbnailUrl || image.url})`"
|
||||||
draggable="true"
|
draggable="true"
|
||||||
@dragstart="onDragstart(image, $event)"
|
@dragstart="onDragstart(image, $event)"
|
||||||
@dragend="onDragend"
|
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
<p :class="$style.empty" v-if="!fetching && images.length == 0">{{ $t('no-photos') }}</p>
|
<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.effectAllowed = 'move';
|
||||||
e.dataTransfer.setData('mk_drive_file', JSON.stringify(file));
|
e.dataTransfer.setData('mk_drive_file', JSON.stringify(file));
|
||||||
},
|
},
|
||||||
|
|
||||||
onDragend(e) {
|
|
||||||
this.browser.isDragSource = false;
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user