Merge pull request #170 from perrin4869/patch-1

Remove unexpected back button handler
This commit is contained in:
Sebastián Katzer 2016-08-15 20:01:15 +02:00 committed by GitHub
commit 7fd6a6c8b1

View File

@ -23,9 +23,6 @@ var exec = require('cordova/exec'),
channel = require('cordova/channel'); channel = require('cordova/channel');
// Override back button action to prevent being killed
document.addEventListener('backbutton', function () {}, false);
// Called before 'deviceready' listener will be called // Called before 'deviceready' listener will be called
channel.onCordovaReady.subscribe(function () { channel.onCordovaReady.subscribe(function () {
// Device plugin is ready now // Device plugin is ready now