summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/url-preview.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/app/common/views/components/url-preview.vue b/src/client/app/common/views/components/url-preview.vue
index 4466cf7165..95dafa8f4c 100644
--- a/src/client/app/common/views/components/url-preview.vue
+++ b/src/client/app/common/views/components/url-preview.vue
@@ -160,12 +160,12 @@ export default Vue.extend({
'web.tv',
'youtube.com',
'youtu.be'
- ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`))))
+ ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`)))
this.player = info.player;
- }
- });
- }
- }
+ } // info.url
+ }) // json
+ }); // fetch
+ } // created
});
</script>