diff --git a/demo/map.html b/demo/map.html
index f15365cab5..bd4fb74fdc 100644
--- a/demo/map.html
+++ b/demo/map.html
@@ -18,6 +18,6 @@
layers: [ol.layer.osm()],
center: [45, 5],
zoom: 10
- }).getEvents().register("click", function() {console.log("mapclick")})
+ });