Skip to content

Commit

Permalink
Don't try to hide the keyboard accessory bar.
Browse files Browse the repository at this point in the history
The keyboard plugin is not yet implemented for Windows and using
it makes the app crash.
  • Loading branch information
vjrantal committed Dec 15, 2014
1 parent a5d3ce9 commit 6216e31
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions www/js/app.js
Expand Up @@ -2,11 +2,6 @@ var chatApp = angular.module('chatApp', ['ionic']);


chatApp.run(function($ionicPlatform) { chatApp.run(function($ionicPlatform) {
$ionicPlatform.ready(function() { $ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if(window.StatusBar) { if(window.StatusBar) {
StatusBar.styleDefault(); StatusBar.styleDefault();
} }
Expand Down

0 comments on commit 6216e31

Please sign in to comment.