diff options
Diffstat (limited to 'www/lib/ionic-pullup/dist/ion-pullup.js')
| -rw-r--r-- | www/lib/ionic-pullup/dist/ion-pullup.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/lib/ionic-pullup/dist/ion-pullup.js b/www/lib/ionic-pullup/dist/ion-pullup.js index c558cb93..c82cdc3d 100644 --- a/www/lib/ionic-pullup/dist/ion-pullup.js +++ b/www/lib/ionic-pullup/dist/ion-pullup.js @@ -17,6 +17,7 @@ angular.module('ionic-pullup', []) onMinimize: '&' }, controller: ['$scope', '$element', '$attrs', 'ionPullUpFooterState', 'ionPullUpFooterBehavior', function($scope, $element, $attrs, FooterState, FooterBehavior) { + console.log ("***********ARC ************"+$attrs.maxHeight); var tabs = document.querySelector('.tabs'), hasBottomTabs = document.querySelector('.tabs-bottom'), @@ -43,7 +44,8 @@ angular.module('ionic-pullup', []) } function computeHeights() { - footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight; + // PP + footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight -20; $element.css({'height': footer.height + 'px'}); if (footer.initialState == FooterState.MINIMIZED) { @@ -223,4 +225,4 @@ angular.module('ionic-pullup', []) }); } } - }]);
\ No newline at end of file + }]); |
