aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-12-10 21:49:12 +0100
committerM. Dent <dentm42@gmail.com>2018-12-10 21:49:12 +0100
commit4cb4f175004fe28cfec449932b7f3fe1a36ab8a7 (patch)
treed533bd88c7572a720c1151b3e245fd3069350a62 /view
parent15a689c6f549e25a1301a8cb8ba92c4cd4f90300 (diff)
parent7894fed7413ab3bd782bf939b17ca70bf0196d28 (diff)
downloadvolse-hubzilla-4cb4f175004fe28cfec449932b7f3fe1a36ab8a7.tar.gz
volse-hubzilla-4cb4f175004fe28cfec449932b7f3fe1a36ab8a7.tar.bz2
volse-hubzilla-4cb4f175004fe28cfec449932b7f3fe1a36ab8a7.zip
Merge branch 'photo-hook' into 'dev'
add photo_view_filter hook and fix minor issue with unset auto_save_draft… See merge request hubzilla/core!1425
Diffstat (limited to 'view')
-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 105cf0ac8..6d566cab9 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -99,7 +99,7 @@
<div id="photo-edit-end" class="clear"></div>
</div>
<div id="photo-view-wrapper">
- <div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" onclick="$.colorbox({href: '{{$photo.href}}'}); return false;"><img style="width: 100%;" src="{{$photo.src}}"></a></div>
+ <div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" onclick="{{$onclick}}"><img style="width: 100%;" src="{{$photo.src}}"></a></div>
<div id="photo-photo-end" class="clear"></div>
{{if $tags}}
<div class="photo-item-tools-left" id="in-this-photo">