X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.js;fp=phpfspot.js;h=2aee155ec5650e10e43997d687fc17b161743728;hp=ae202a0c004f69d0e7eb792c19f62711d787b571;hb=b690db6fe75d323ff4f30e2be0a447a75e140cb5;hpb=44fa8272cedfcf0920dfaf10acf992e52ce6ea0c diff --git a/phpfspot.js b/phpfspot.js index ae202a0..2aee155 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -21,14 +21,14 @@ ***************************************************************************/ /** - * display image + * show photo * * this function will be called by client and fetches * the single-photo view via AJAX from the server. * Furthermore it will scrollup the browser to the top * position so the image become visibile immediatley. */ -function showImage(id, scrollup) +function showPhoto(id, scrollup) { /* is phpfspot skeleton really displayed? */ if(!document.getElementById('content')) @@ -54,7 +54,7 @@ function showImage(id, scrollup) delete(origWidth); origWidth = undefined; delete(photo_details_pos); photo_details_pos = undefined; -} // showImage() +} // showPhoto() /** * scroll browser to the last shown photo @@ -398,7 +398,7 @@ function init_phpfspot(srv_webpath) } if(whattodo == 'show_photo') { if(photo = getPhotoToShow()) { - showImage(photo); + showPhoto(photo); refreshSelectedTags(); } }