summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/HelpCtrl.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/js/HelpCtrl.js b/www/js/HelpCtrl.js
index 6f4a7466..bc9c3f0b 100644
--- a/www/js/HelpCtrl.js
+++ b/www/js/HelpCtrl.js
@@ -66,7 +66,12 @@ angular.module('zmApp.controllers').controller('zmApp.HelpCtrl', ['$scope', '$ro
options = {
};
console.log ('got '+url);
- cordova.InAppBrowser.open(url, '_blank', options);
+ if ($rootScope.platformOS == 'desktop' ) {
+ window.open(url, '_blank', options);
+ } else {
+ cordova.InAppBrowser.open(url, '_blank', options);
+ }
+
};