Skip to content

Commit

Permalink
Revert "MOBILE-1849 ios: Disable keyboard scroll"
Browse files Browse the repository at this point in the history
This reverts commit a72f43b.
  • Loading branch information
jleyva committed Dec 12, 2016
1 parent 467771a commit 3127483
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions www/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ angular.module('mm', ['ionic', 'ngCordova', 'angular-md5', 'pascalprecht.transla
'ngMessages'])

.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
window.cordova.plugins.Keyboard.disableScroll(true);
}
if (window.StatusBar) {
StatusBar.styleDefault();
}
});
$ionicPlatform.ready(function() {
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
if (window.StatusBar) {
StatusBar.styleDefault();
}
});
});

0 comments on commit 3127483

Please sign in to comment.