[Title] revise document -> window according to Tizen 2.2 App guide 2.2_release
authorJoonghun Park <jh718.park@samsung.com>
Mon, 1 Jul 2013 02:38:52 +0000 (11:38 +0900)
committerJoonghun Park <jh718.park@samsung.com>
Mon, 1 Jul 2013 02:38:52 +0000 (11:38 +0900)
Change-Id: I6ce85d08ded98d57c408ee480570fb4048bb6430

js/clock.js

index 6386f8f..177ac46 100755 (executable)
@@ -1,5 +1,5 @@
 //add eventListener for tizenhwkey\r
-document.addEventListener('tizenhwkey', function(e) {\r
+window.addEventListener('tizenhwkey', function(e) {\r
     if(e.keyName == "back")\r
         tizen.application.getCurrentApplication().exit();\r
 });\r