Remove unexpected back button handler

This commit is contained in:
Julian Grinblat 2016-07-24 23:49:02 +09:00 committed by GitHub
parent 4c1332ed4c
commit 90f4aa86db

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