summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-08-16 03:17:41 +0900
committerGitHub <noreply@github.com>2018-08-16 03:17:41 +0900
commitd8f8e19d06796b09d53a3e118810599b58f781bd (patch)
tree13a42a2c6de3da349b03aeb1ac6e9b31a5e1c536 /src/client/app
parent5.25.0 (diff)
parentFix url-preview.vue (diff)
downloadmisskey-d8f8e19d06796b09d53a3e118810599b58f781bd.tar.gz
misskey-d8f8e19d06796b09d53a3e118810599b58f781bd.tar.bz2
misskey-d8f8e19d06796b09d53a3e118810599b58f781bd.zip
Merge pull request #2246 from mei23/mei-0816-player
動画プレーヤーの修正
Diffstat (limited to 'src/client/app')
-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>