1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-16 23:59:05 +09:00
This commit is contained in:
tamaina 2020-02-15 21:31:56 +09:00
parent 65704bbf01
commit f799375635

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="wrmlmaau" ref="i"> <div class="wrmlmaau">
<div class="body"> <div class="body">
<span v-if="note.isHidden" style="opacity: 0.5">({{ $t('private') }})</span> <span v-if="note.isHidden" style="opacity: 0.5">({{ $t('private') }})</span>
<span v-if="note.deletedAt" style="opacity: 0.5">({{ $t('deleted') }})</span> <span v-if="note.deletedAt" style="opacity: 0.5">({{ $t('deleted') }})</span>
@ -39,14 +39,8 @@ export default Vue.extend({
}, },
data() { data() {
return { return {
i: this.$refs.i,
faReply faReply
}; };
},
mounted() {
// for Safari bug
this.width = this.$refs.i.getBoundingClientRect().width;
} }
}); });
</script> </script>