mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Routine recompile.
This commit is contained in:
@@ -294,8 +294,8 @@ Blockly.Field.prototype.setValue = function(text) {
|
||||
*/
|
||||
Blockly.Field.prototype.onMouseUp_ = function(e) {
|
||||
if ((goog.userAgent.IPHONE || goog.userAgent.IPAD) &&
|
||||
e.layerX !== 0 && e.layerY !== 0 &&
|
||||
!goog.userAgent.isVersionOrHigher('537.51.2')) {
|
||||
!goog.userAgent.isVersionOrHigher('537.51.2') &&
|
||||
e.layerX !== 0 && e.layerY !== 0) {
|
||||
// Old iOS spawns a bogus event on the next touch after a 'prompt()' edit.
|
||||
// Unlike the real events, these have a layerX and layerY set.
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user