summaryrefslogtreecommitdiff
path: root/www/external/ion-pullup.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/external/ion-pullup.js')
-rwxr-xr-xwww/external/ion-pullup.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/external/ion-pullup.js b/www/external/ion-pullup.js
index 9bd5ab56..ae9109a8 100755
--- a/www/external/ion-pullup.js
+++ b/www/external/ion-pullup.js
@@ -45,10 +45,18 @@ angular.module('ionic-pullup', [])
header = document.querySelector('.bar-header');
tabsHeight = tabs ? tabs.offsetHeight : 0;
headerHeight = header ? header.offsetHeight : 0;
+
+ /*if ($rootScope.platformOS == 'ios')
+ {
+ tabsHeight +=40;
+ headerHeight +=40;
+ }*/
}
function computeHeights() {
footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight;
+ if ($rootScope.platformOS == 'ios') footer.height -=60;
+ if ($rootScope.platformOS == 'android') footer.height -=40;
$element.css({'height': footer.height + 'px'});
if (footer.initialState == FooterState.MINIMIZED) {
@@ -69,6 +77,8 @@ angular.module('ionic-pullup', [])
function recomputeAllHeights() {
computeDefaultHeights();
footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight;
+ if ($rootScope.platformOS == 'ios') footer.height -=60;
+ if ($rootScope.platformOS == 'android') footer.height -=40;
}
function expand() {