Initialized rclk object. While using the "layer" command, the feedbac… (#176)

* initialized rclk as an empty object
pull/180/head
Sebastian 3 years ago committed by GitHub
parent 7fa64ee1f1
commit 7957c9770d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -662,7 +662,7 @@ map.on('moveend', function() {
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon, layer, colour, heading)'/>";
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;

Loading…
Cancel
Save