[Client] 良い感じに
This commit is contained in:
@@ -335,10 +335,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
|
||||
});
|
||||
};
|
||||
|
||||
@@ -356,10 +356,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