From 90f4aa86dbe6aee6084c56796ca24831331c73a5 Mon Sep 17 00:00:00 2001 From: Julian Grinblat Date: Sun, 24 Jul 2016 23:49:02 +0900 Subject: [PATCH] Remove unexpected back button handler --- www/background-mode.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/www/background-mode.js b/www/background-mode.js index d4a2836..f6f92d3 100644 --- a/www/background-mode.js +++ b/www/background-mode.js @@ -23,9 +23,6 @@ var exec = require('cordova/exec'), channel = require('cordova/channel'); -// Override back button action to prevent being killed -document.addEventListener('backbutton', function () {}, false); - // Called before 'deviceready' listener will be called channel.onCordovaReady.subscribe(function () { // Device plugin is ready now