From 6bc18d6c86a0955edb7f73770c53ad462b6548c1 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 27 Mar 2014 00:33:01 +0000 Subject: [PATCH] make all region lines non-clickable --- plugins/regions.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/regions.user.js b/plugins/regions.user.js index 980f5fae..0dd60538 100644 --- a/plugins/regions.user.js +++ b/plugins/regions.user.js @@ -149,7 +149,7 @@ window.plugin.regions.update = function() { // the six cube side boundaries. we cheat by hard-coding the coords as it's simple enough var latLngs = [ [45,-180], [35.264389682754654,-135], [35.264389682754654,-45], [35.264389682754654,45], [35.264389682754654,135], [45,180]]; - var globalCellOptions = {color: 'red', weight: 7, opacity: 0.5}; + var globalCellOptions = {color: 'red', weight: 7, opacity: 0.5, clickable: false }; for (var i=0; i