From 24ef85db50a8ac87c4902cdbb73647c32996c37d Mon Sep 17 00:00:00 2001 From: Giulio Cesare Solaroli Date: Sat, 21 Mar 2015 09:04:39 +0100 Subject: [PATCH] Fixed mask event handling for iPhone/iPad --- frontend/delta/js/Clipperz/PM/UI/Components/Panels/MainPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/delta/js/Clipperz/PM/UI/Components/Panels/MainPanel.js b/frontend/delta/js/Clipperz/PM/UI/Components/Panels/MainPanel.js index 2e98989..0c73150 100644 --- a/frontend/delta/js/Clipperz/PM/UI/Components/Panels/MainPanel.js +++ b/frontend/delta/js/Clipperz/PM/UI/Components/Panels/MainPanel.js @@ -194,7 +194,7 @@ Clipperz.PM.UI.Components.Panels.MainPanel = React.createClass({ classes[this.style()] = true; return React.DOM.div({'key':'mainPanel', 'id':'mainPanel', 'className':React.addons.classSet(classes)}, [ - React.DOM.div({'className':'mask', 'onClick': this.handleMaskClick}), + React.DOM.div({'className':'mask', 'onClick':this.handleMaskClick, 'onTouchEnd':this.handleMaskClick}), React.DOM.div({'className':'container'}, // this.style() == 'extra-wide' ? this.renderExtraWide() : this.renderOther() this.renderLayout(this.style())