use HTML_AJAXs replace function to alter content of content-div
[phpfspot.git] / phpfspot.class.php
index 85d276e104d29a09a792cae3b5f59d004f83017c..467fdb2db1e83b5f763a93e7cb2a363a86c630bf 100644 (file)
@@ -520,7 +520,7 @@ class PHPFSPOT {
 
       $this->tmpl->show("single_photo.tpl");
 
-      print "<script language=\"JavaScript\">self.location.hash = '#image';</script>\n";
+      print "<script language=\"JavaScript\">self.location.hash = '#photo';</script>\n";
 
    } // showPhoto()