summaryrefslogtreecommitdiff
path: root/game.js
diff options
context:
space:
mode:
authorJ08nY2016-04-16 15:50:35 +0200
committerJ08nY2016-04-16 15:50:35 +0200
commit32cdf45cba3b13831c6449e0ced66a49e0d99aa0 (patch)
tree42ccdd8abe865bb66c94a057323f2f00383eefc3 /game.js
parentb13435aa6be4464c056d4e48034fa7f6c527e871 (diff)
downloadld35-32cdf45cba3b13831c6449e0ced66a49e0d99aa0.tar.gz
ld35-32cdf45cba3b13831c6449e0ced66a49e0d99aa0.tar.zst
ld35-32cdf45cba3b13831c6449e0ced66a49e0d99aa0.zip
Diffstat (limited to 'game.js')
-rw-r--r--game.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/game.js b/game.js
index 595a347..36c9745 100644
--- a/game.js
+++ b/game.js
@@ -29,7 +29,7 @@ var PointerLock = (function () {
document.addEventListener('pointerlockerror', function (event) { return _this.onError(event); }, false);
document.addEventListener('mozpointerlockerror', function (event) { return _this.onError(event); }, false);
document.addEventListener('webkitpointerlockerror', function (event) { return _this.onError(event); }, false);
- this.instructions.addEventListener("click", function (event) { return _this.onClick(event); }, false);
+ this.blocker.addEventListener("click", function (event) { return _this.onClick(event); }, false);
};
PointerLock.prototype.onChange = function (event) {
var element = document.body;