aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorLeon Krause2018-05-09 15:57:10 +0200
committerHein-Pieter van Braam2018-05-13 22:17:53 +0200
commit868c44b23949d7d1f677e8e7d6e4832ca2f0510e (patch)
tree836141a3112abd352d7ecf32385fe92a7d057e8b /misc
parent10c12b37ec90d2f795bbd859479d9e5c8f6899f9 (diff)
downloadgodot-868c44b23949d7d1f677e8e7d6e4832ca2f0510e.tar.gz
godot-868c44b23949d7d1f677e8e7d6e4832ca2f0510e.tar.zst
godot-868c44b23949d7d1f677e8e7d6e4832ca2f0510e.zip
Fix keyboard focus lock-out with HTML5 canvas in iframe
(cherry picked from commit 9080e96bc81328e658a03e2cd248c06ddbf9f2ec)
Diffstat (limited to 'misc')
-rw-r--r--misc/dist/html/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/dist/html/default.html b/misc/dist/html/default.html
index a1a4e89d0..3ad29d149 100644
--- a/misc/dist/html/default.html
+++ b/misc/dist/html/default.html
@@ -195,7 +195,7 @@ $GODOT_HEAD_INCLUDE
</head>
<body>
<div id="container">
- <canvas id="canvas" oncontextmenu="event.preventDefault();" width="640" height="480">
+ <canvas id="canvas" width="640" height="480">
HTML5 canvas appears to be unsupported in the current browser.<br />
Please try updating or use a different browser.
</canvas>