summaryrefslogtreecommitdiff
path: root/src/client/directives
diff options
context:
space:
mode:
authorXeltica <7106976+Xeltica@users.noreply.github.com>2020-06-21 22:34:28 +0900
committerGitHub <noreply@github.com>2020-06-21 22:34:28 +0900
commitaa652aac8a88f6256834db63435a670a2bca797b (patch)
tree93b8cd5fd07f182b38be25ca6592da2a86f3eee4 /src/client/directives
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadmisskey-aa652aac8a88f6256834db63435a670a2bca797b.tar.gz
misskey-aa652aac8a88f6256834db63435a670a2bca797b.tar.bz2
misskey-aa652aac8a88f6256834db63435a670a2bca797b.zip
タップ不可能なリアクションを押してもパーティクルが出るバグを修正 (#6472)
* resolve #6453 * リアクションビューワーのトグル可能判定にログインしているかどうかも反映
Diffstat (limited to 'src/client/directives')
-rw-r--r--src/client/directives/particle.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/directives/particle.ts b/src/client/directives/particle.ts
index 41509b4ed1..4fb2a7948e 100644
--- a/src/client/directives/particle.ts
+++ b/src/client/directives/particle.ts
@@ -2,6 +2,8 @@ import Particle from '../components/particle.vue';
export default {
bind(el, binding, vn) {
+ // 明示的に false であればバインドしない
+ if (binding.value === false) return;
el.addEventListener('click', () => {
const rect = el.getBoundingClientRect();