1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-14 07:49:02 +01:00

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