From d4135390acff291f2f2c15d9fb86723ebf4fe755 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 5 Aug 2013 16:30:45 -0700 Subject: [PATCH] Create linkloader iframe in script --- app/assets/javascripts/application.js | 15 ++++++++++++--- app/views/browse/_map.html.erb | 3 --- app/views/site/index.html.erb | 3 --- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index cbea58cc1..b257f7fed 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -44,12 +44,21 @@ function remoteEditHandler(bbox, select) { }; if (select) query.select = select; - $("#linkloader") + + var iframe = $(' -
<% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible? %> diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 721fd18ed..73e1382d3 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -19,9 +19,6 @@
- -
-- 2.39.5