Fixed mask event handling for iPhone/iPad

This commit is contained in:
Giulio Cesare Solaroli 2015-03-21 09:04:39 +01:00
parent c0847d6f52
commit 24ef85db50

View File

@ -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())