Revision ecffd938 cloudcms/static/cloudcms/js/common.js
b/cloudcms/static/cloudcms/js/common.js | ||
---|---|---|
1 |
function isIpadIphone(){ |
|
2 |
var flag = false; |
|
3 |
var isiPhone = navigator.userAgent.toLowerCase().indexOf("iphone"); |
|
4 |
var isiPad = navigator.userAgent.toLowerCase().indexOf("ipad"); |
|
5 |
if(isiPhone > -1) { flag = true; } |
|
6 |
if(isiPad > -1) { flag = true; } |
|
7 |
return flag; |
|
8 |
} |
|
9 |
|
|
1 | 10 |
function setContainerMinHeight( applicableDiv){ |
2 | 11 |
|
3 | 12 |
if ( $(applicableDiv).length > 0 ) { |
Also available in: Unified diff