From 7a9aca6ecbe84ad4469cbbec2b7a1269e9f94378 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 17 Mar 2015 18:45:56 -0700 Subject: fix the map embed issue by keeping the map visible but moving it far off the screen. --- view/css/mod_photos.css | 7 ++++++- view/tpl/photo_view.tpl | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/view/css/mod_photos.css b/view/css/mod_photos.css index f95a0ca2f..7718289c3 100644 --- a/view/css/mod_photos.css +++ b/view/css/mod_photos.css @@ -19,7 +19,6 @@ } #photo-edit, -#photo-map, #photo-album-edit-wrapper, #photo-upload-form { display: none; @@ -29,3 +28,9 @@ padding: 4px; width: 100%; } + +#photo-map { + position: absolute; + left: -9999px; + top: -9999px; +} \ No newline at end of file diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 1deaa67fc..52ef161ba 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -9,13 +9,13 @@ {{/if}} {{if $map}}
- +
{{/if}}