Commit 4bfd957990dc4555d25e279cd29016e69b446350
1 parent
32f7b93e
Showing
1 changed file
with
1 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -1343,7 +1343,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -1343,7 +1343,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
1343 | } | 1343 | } |
1344 | //set scrollbars on canvas and hide loading label | 1344 | //set scrollbars on canvas and hide loading label |
1345 | 1345 | ||
1346 | - // var isiOSSafari = (navigator.userAgent.match(/like Mac OS X/i)) ? true : false; | 1346 | + //check the OS |
1347 | var isiOSSafari = (navigator.userAgent.match(/(iPod|iPhone|iPad|android)/i)) ? true : false; | 1347 | var isiOSSafari = (navigator.userAgent.match(/(iPod|iPhone|iPad|android)/i)) ? true : false; |
1348 | 1348 | ||
1349 | //set scrollbars on canvas and hide loading label | 1349 | //set scrollbars on canvas and hide loading label |