Skip to content

Commit

Permalink
#869 use window.open for desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Dec 1, 2019
1 parent 055a967 commit 2338967
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion www/js/HelpCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


};

Expand Down

0 comments on commit 2338967

Please sign in to comment.