mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 08:44:05 +02:00
[Client] 良い感じに
This commit is contained in:
@@ -329,10 +329,8 @@
|
||||
};
|
||||
|
||||
this.react = () => {
|
||||
const rect = this.refs.reactButton.getBoundingClientRect();
|
||||
riot.mount(document.body.appendChild(document.createElement('mk-reaction-picker')), {
|
||||
top: rect.top + window.pageYOffset,
|
||||
left: rect.left + window.pageXOffset,
|
||||
source: this.refs.reactButton,
|
||||
post: this.p
|
||||
});
|
||||
};
|
||||
|
||||
@@ -377,10 +377,8 @@
|
||||
};
|
||||
|
||||
this.react = () => {
|
||||
const rect = this.refs.reactButton.getBoundingClientRect();
|
||||
riot.mount(document.body.appendChild(document.createElement('mk-reaction-picker')), {
|
||||
top: rect.top + window.pageYOffset,
|
||||
left: rect.left + window.pageXOffset,
|
||||
source: this.refs.reactButton,
|
||||
post: this.p
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user