From 7960f8599e298e37b629fac8c5ca1ada61826860 Mon Sep 17 00:00:00 2001 From: Piotr Dabrowski Date: Tue, 17 Sep 2013 11:27:20 +0200 Subject: [PATCH] [ExercisePlanner] updated ExercisePlanner sources Change-Id: Ie8796fe5d9e9ecbdcb48b56d8ec07253c021e794 --- js/UI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/UI.js b/js/UI.js index 4edf079..610eb4d 100644 --- a/js/UI.js +++ b/js/UI.js @@ -349,7 +349,7 @@ function UI() { self.app.appStartStop(); }); - document.addEventListener('tizenhwkey', function(e) { + window.addEventListener('tizenhwkey', function(e) { if (e.keyName == 'back') { if ($.mobile.popup.active) { $.mobile.popup.active.close(); -- 2.7.4