Skip to content
Permalink
Browse files
Don't try to hide the keyboard accessory bar.
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 6216e31c261900d4b289086d4e2090aef8a1405c
Showing with 0 additions and 5 deletions.
  1. +0 −5 www/js/app.js
@@ -2,11 +2,6 @@ var chatApp = angular.module('chatApp', ['ionic']);

chatApp.run(function($ionicPlatform) {
$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) {
StatusBar.styleDefault();
}

0 comments on commit 6216e31

Please sign in to comment.