aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-05-06 02:43:54 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2011-05-06 02:43:54 -0400
commite11da0e96372bb04bf1f512ccb90e601e950fd0f (patch)
tree059507ee1609ae1a681ce01d228c35318a097fba /web/js
parentGettin functional, baby (diff)
downloadPhotoFloat-e11da0e96372bb04bf1f512ccb90e601e950fd0f.tar.xz
PhotoFloat-e11da0e96372bb04bf1f512ccb90e601e950fd0f.zip
Hash tag back. Garbage collection.
Diffstat (limited to 'web/js')
-rw-r--r--web/js/010-debugger.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/010-debugger.js b/web/js/010-debugger.js
index 8af0305..ecac65a 100644
--- a/web/js/010-debugger.js
+++ b/web/js/010-debugger.js
@@ -66,7 +66,7 @@ $(document).ready(function() {
$(document.body).html("Wrong picture.");
return;
}
- $("#photo").html("<a href=\"javascript:history.back(-1)\"><img src=\"" + imagePath(current_album.photos[index].name, current_album.path, 640, false) + "\"></a>");
+ $("#photo").html("<a href=\"#" + current_album_cache + "\"><img src=\"" + imagePath(current_album.photos[index].name, current_album.path, 640, false) + "\"></a>");
$("#album").fadeOut();
$("#photo").fadeIn();
}