summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-05-09 15:57:10 +0200
committerLeon Krause <lk@leonkrause.com>2018-05-10 02:42:47 +0200
commit9080e96bc81328e658a03e2cd248c06ddbf9f2ec (patch)
tree068885cd973a53889b69ce1ddb6daa7a489cd3fe /misc
parent0f930f831410bc57d0e975b4ab73715d0d034735 (diff)
Fix keyboard focus lock-out with HTML5 canvas in iframe
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 4e3515a7b6..4aa9347fec 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>