From 7ebb0e8c814b3b1bf9c636a1c758da628314963d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 27 Sep 2017 12:44:48 +0200 Subject: [PATCH] wip #1689 --- js/libs/fluidbook/fluidbook.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index f05a43cc..a37b9993 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -842,20 +842,20 @@ Fluidbook.prototype = { if (this.datas.phonegap == 'ios') { this.displayLoader(); if (types_ios[type] != undefined) { - var offset = $(e).offset(); - offset.left += ($(e).width() / 2); - offset.top += ($(e).height()); - try { + // var offset = $(e).offset(); + // offset.left += ($(e).width() / 2); + // offset.top += ($(e).height()); + /*try { ExternalFileUtil.openWith(url, types_ios[type], function () { $this.hideLoader(); }, function () { $this.wopen(url, "_blank", 'location=no'); $this.hideLoader(); }, offset); - } catch (err) { - $this.wopen(url, "_blank", 'location=no'); - $this.hideLoader(); - } + } catch (err) {*/ + $this.wopen(url, "_blank", 'location=no'); + $this.hideLoader(); + //} return true; } } -- 2.39.5