diff --git a/worldmap/worldmap.js b/worldmap/worldmap.js
index b9b7c62..cd6ccd3 100644
--- a/worldmap/worldmap.js
+++ b/worldmap/worldmap.js
@@ -662,7 +662,7 @@ map.on('moveend', function() {
var addmenu = "Add marker
";
var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu);
-var rclk;
+var rclk = {};
var hiderightclick = false;
var addThing = function() {
var thing = document.getElementById('rinput').value;