summaryrefslogtreecommitdiffstats
path: root/themes/default/templates/single_photo.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/templates/single_photo.tpl')
-rw-r--r--themes/default/templates/single_photo.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl
index 2032f52..62a2bf7 100644
--- a/themes/default/templates/single_photo.tpl
+++ b/themes/default/templates/single_photo.tpl
@@ -80,7 +80,7 @@
<img src="resources/arrow_left.png" alt="previous photo" />
</a>
{ /if }
- <a href="javascript:showPhotoIndex({$current});" onclick="click(this);" title="click to go back to the index">
+ <a href="javascript:showPhotoIndex({$current_page}, {$current_img});" onclick="click(this);" title="click to go back to the index">
<img src="resources/arrow_up.png" alt="photo index" />
</a>
{ if $next_url == "" }