Skip to content

Commit

Permalink
Fix ontouchstart issue
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Dec 8, 2020
1 parent d1dae6a commit a5093c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/dist/forum.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions js/src/forum/components/PostReactAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ export default class PostReactAction extends Component {
this.updateChosenReaction();
}

config(isInitialized) {
if (isInitialized) return;

oncreate(vnode) {
super.oncreate(vnode);
if ('ontouchstart' in window) {
$('.Reactions')
.unbind()
Expand Down

0 comments on commit a5093c9

Please sign in to comment.