summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authormei23 <m@m544.net>2018-08-16 03:05:28 +0900
committermei23 <m@m544.net>2018-08-16 03:06:59 +0900
commit3c3d3e4c0c187815b47c9bf01b699a5f6518808a (patch)
tree13a42a2c6de3da349b03aeb1ac6e9b31a5e1c536 /src/client
parent5.25.0 (diff)
downloadmisskey-3c3d3e4c0c187815b47c9bf01b699a5f6518808a.tar.gz
misskey-3c3d3e4c0c187815b47c9bf01b699a5f6518808a.tar.bz2
misskey-3c3d3e4c0c187815b47c9bf01b699a5f6518808a.zip
Fix url-preview.vue
Diffstat (limited to 'src/client')
-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>