[+] Open url for videos

This commit is contained in:
Hykilpikonna
2019-12-25 17:31:09 -05:00
parent 8a419438bb
commit ce3c1923cf
+3 -1
View File
@@ -169,8 +169,10 @@ export default class App extends Vue
onImageClick(artwork: Artwork, index: number)
{
if (artwork.video) open(artwork.url, '_blank');
// @ts-ignore
this.$refs.ps.show(this.swipeItems(), {index: index});
else this.$refs.ps.show(this.swipeItems(), {index: index});
}
}