diff --git a/www/background-mode.js b/www/background-mode.js index 1640481..edfa25c 100644 --- a/www/background-mode.js +++ b/www/background-mode.js @@ -165,7 +165,9 @@ exports.moveToForeground = function () { * @return [ Void ] */ exports.overrideBackButton = function () { - document.addEventListener('backbutton', this.moveToBackground, false); + document.addEventListener('backbutton', function() { + exports.moveToBackground(); + }, false); }; /**