aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-19 02:20:59 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-19 02:20:59 +0100
commit51cd4e8519ef97f348013320e612811f9da1ad0e (patch)
tree0ac074413bfe211c6b6170629cc192eb60fd1fcb
parentbd249b276d5b0a7f9934272c5443dfe2e0eb010f (diff)
downloadvolse-hubzilla-51cd4e8519ef97f348013320e612811f9da1ad0e.tar.gz
volse-hubzilla-51cd4e8519ef97f348013320e612811f9da1ad0e.tar.bz2
volse-hubzilla-51cd4e8519ef97f348013320e612811f9da1ad0e.zip
missing return false for map link
-rwxr-xr-xview/tpl/photo_view.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 067fbe060..254733622 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -18,7 +18,7 @@
{{/if}}
{{if $map}}
<li class="nav-item">
- <a class="nav-link" href="#" onclick="var pos = $('#photo-map').css('position'); if(pos === 'absolute') { $('#photo-map').css( { position: 'relative', left: 'auto', top: 'auto' }); } else { $('#photo-map').css( { position: 'absolute', left: '-9999px', top: '-9999px' }); }" ><i class="icon-globe"></i>&nbsp;{{$map_text}}</a>
+ <a class="nav-link" href="#" onclick="var pos = $('#photo-map').css('position'); if(pos === 'absolute') { $('#photo-map').css( { position: 'relative', left: 'auto', top: 'auto' }); } else { $('#photo-map').css( { position: 'absolute', left: '-9999px', top: '-9999px' }); } return false; " ><i class="icon-globe"></i>&nbsp;{{$map_text}}</a>
</li>
{{/if}}
{{if $edit}}