projects
/
samples
/
web
/
ImageRotation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4cf8fd
)
[title]prevent pop up of context menu because it's not necessary
author
Joonghun Park
<jh718.park@samsung.com>
Mon, 30 Sep 2013 11:16:23 +0000
(20:16 +0900)
committer
Joonghun Park
<jh718.park@samsung.com>
Mon, 30 Sep 2013 11:26:26 +0000
(20:26 +0900)
Change-Id: Iaa3b82147be23b4445d3d30e1b7c15b202bbd397
js/main.js
patch
|
blob
|
history
diff --git
a/js/main.js
b/js/main.js
index
b586cd7
..
69eb8ce
100755
(executable)
--- a/
js/main.js
+++ b/
js/main.js
@@
-21,6
+21,9
@@
function deviceOrientationEvents() {
}
window.onload = function() {
+ var logoimg = document.getElementById('logo');
+ logoimg.addEventListener('contextmenu', function(e){e.preventDefault()}, false)
+
//add eventListener for tizenhwkey
window.addEventListener('tizenhwkey', function(e) {
if(e.keyName == "back")