summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonghun Park <jh718.park@samsung.com>2013-07-01 11:38:52 +0900
committerJoonghun Park <jh718.park@samsung.com>2013-07-01 11:38:52 +0900
commit78e30037dad6fa60fe7868983bb1230ce65b8378 (patch)
treeeb41e41422f3298f8a10549da54e31b30b9b07fa
parent09654aab22f57659b8cb9603f10bb336b235e54e (diff)
downloadOfflineClockImage-78e30037dad6fa60fe7868983bb1230ce65b8378.tar.gz
OfflineClockImage-78e30037dad6fa60fe7868983bb1230ce65b8378.tar.bz2
OfflineClockImage-78e30037dad6fa60fe7868983bb1230ce65b8378.zip
[Title] revise document -> window according to Tizen 2.2 App guide2.2_release
Change-Id: I6ce85d08ded98d57c408ee480570fb4048bb6430
-rwxr-xr-xjs/clock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/clock.js b/js/clock.js
index 6386f8f..177ac46 100755
--- a/js/clock.js
+++ b/js/clock.js
@@ -1,5 +1,5 @@
//add eventListener for tizenhwkey
-document.addEventListener('tizenhwkey', function(e) {
+window.addEventListener('tizenhwkey', function(e) {
if(e.keyName == "back")
tizen.application.getCurrentApplication().exit();
});