From ae2cdf20be5c36ee431c980e952d1f73572a0d70 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 3 Dec 2012 18:50:38 -0500 Subject: [PATCH] removed cached files --- app/views/main/samplemap.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/main/samplemap.html.erb b/app/views/main/samplemap.html.erb index b6eb94da..51e47f91 100644 --- a/app/views/main/samplemap.html.erb +++ b/app/views/main/samplemap.html.erb @@ -29,7 +29,11 @@ json = <%= @mapjson %>; if (json.length > 0) { $(document).ready(function() { - initFD(); + <% if (@map.arranged) %> + initMAP(); + <% else %> + initFD(); + <% end %> }); }