From: Vincent Vanwaelscappel Date: Thu, 3 Mar 2016 16:07:47 +0000 (+0000) Subject: #fluidbook_apps : special behavior for file links in apps (open in device browser... X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4a67d356ed7efc131ee689ac2276f8069d15c982;p=fluidbook-html5.git #fluidbook_apps : special behavior for file links in apps (open in device browser instead of inapp browser) --- diff --git a/js/main.js b/js/main.js index 341fc720..f1942969 100644 --- a/js/main.js +++ b/js/main.js @@ -416,7 +416,7 @@ try { return true; } var target = $(this).attr('target'); - if ($(this).data('type') == 16) { + if ($(this).data('type') == 16 && $(this).attr('href').substr(0, 4) == 'http') { target = '_system'; } if (target == '_blank' || target == '_system') {