summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpfspot.js b/phpfspot.js
index ca3f9c0..2079b80 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -1,7 +1,6 @@
function showImage(id)
{
- var image_div = document.getElementById("content");
- image_div.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=showphoto&id=' + id));
+ HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=showphoto&id=' + id));
}
function showCredits()