From: Alexander Ebert Date: Tue, 30 Aug 2016 11:15:32 +0000 (+0200) Subject: Listening on 'click' can cause iOS Safari to lose focus X-Git-Tag: 3.0.0_Beta_1~406 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8e83f8dda1c008db2c650e86bec475818dd7c3e;p=GitHub%2FWoltLab%2FWCF.git Listening on 'click' can cause iOS Safari to lose focus --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 3e6e6f51b9..09eba48dd8 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -706,7 +706,7 @@ WCF.Message.Smilies = Class.extend({ init: function(editorId) { this._editorId = editorId; - $('.messageTabMenu[data-wysiwyg-container-id=' + this._editorId + ']').on('click', '.jsSmiley', this._smileyClick.bind(this)); + $('.messageTabMenu[data-wysiwyg-container-id=' + this._editorId + ']').on('mousedown', '.jsSmiley', this._smileyClick.bind(this)); }, /**