From 4933f498083936afb9750ca353e512732242464c Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 19 Nov 2017 20:12:13 +0100 Subject: [PATCH] Update: CC - Touch Move (c55930et90.js) 75 bytes modified --- c55930et90.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/c55930et90.js b/c55930et90.js index 528509a..adf5652 100644 --- a/c55930et90.js +++ b/c55930et90.js @@ -10,16 +10,22 @@ if (!this.initialized) { } if (data.meta.zoom || data.meta.outward) { + + if (this.requested) { + return; + } + if (!this.dom.fullscreen) { this.dom.requestFullscreen(); + this.requested = true; } } -if (data.meta.pinch || data.meta.inward) { - if (this.dom.fullscreen) { - this.dom.exitFullscreen(); - } -} +//if (data.meta.pinch || data.meta.inward) { +// if (this.dom.fullscreen) { +// this.dom.exitFullscreen(); +// } +//} if (!this.initialized) {