From: ji.ji Date: Tue, 9 Jul 2013 10:21:30 +0000 (+0900) Subject: [Piano]Updated Private -> RSA X-Git-Tag: 2.2_release~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a43b30b1162e4b5328d2e9cc838012a31110d689;p=samples%2Fweb%2FPiano.git [Piano]Updated Private -> RSA Change-Id: I01b54935e8d231f1143903eedafe344e2272f192 --- diff --git a/css/style.css b/css/style.css index 93d6cb9..640a3e0 100755 --- a/css/style.css +++ b/css/style.css @@ -73,4 +73,8 @@ body { background-color: #08f; top: 12px; right: 8px; -} \ No newline at end of file +} + +.header { + visibility:hidden; +} diff --git a/index.html b/index.html index d77fe62..7a90a51 100755 --- a/index.html +++ b/index.html @@ -3,6 +3,8 @@ + + diff --git a/js/main.js b/js/main.js index 3d9b7ba..022f85d 100644 --- a/js/main.js +++ b/js/main.js @@ -41,8 +41,8 @@ function Piano() { tizen.application.getCurrentApplication().exit(); }); - document.addEventListener('tizenhwkey', function(e) { - if (e.keyName === "back") { + $(window).on('tizenhwkey', function (e) { + if (e.originalEvent.keyName === "back") { tizen.application.getCurrentApplication().exit(); } });