Merge pull request #170 from perrin4869/patch-1
Remove unexpected back button handler
This commit is contained in:
commit
7fd6a6c8b1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user