From 770a76e392fc0ceb8a2eeca93cbd7bd0184d5083 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 3 Mar 2016 15:24:47 +0000 Subject: [PATCH] #fluidbook_apps : special behavior for file links in apps (open in device browser instead of inapp browser) --- js/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/main.js b/js/main.js index ad2ae536..e78108c8 100644 --- a/js/main.js +++ b/js/main.js @@ -151,6 +151,11 @@ try { manifest = collection.manifestPub[DATAS.id]; } + $(document).on('click', "a[data-type='16']", function () { + window.open($(this).attr("href"), "_system"); + return false; + }); + if (navigator.onLine && !OFFLINEAPP) { fb('init online'); -- 2.39.5