diff options
-rw-r--r-- | phpfspot.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 54308aa..1d20ab1 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -649,12 +649,12 @@ class PHPFSPOT { $this->tmpl->assign('current_img', $photo); if($previous_img) { - $this->tmpl->assign('previous_url', "javascript:showImage(". $previous_img .");"); + $this->tmpl->assign('previous_url', "javascript:showPhoto(". $previous_img .");"); $this->tmpl->assign('prev_img', $previous_img); } if($next_img) { - $this->tmpl->assign('next_url', "javascript:showImage(". $next_img .");"); + $this->tmpl->assign('next_url', "javascript:showPhoto(". $next_img .");"); $this->tmpl->assign('next_img', $next_img); } $this->tmpl->assign('mini_width', $this->cfg->mini_width); |