Skip to content

Commit

Permalink
Reverted window hash storage
Browse files Browse the repository at this point in the history
  • Loading branch information
kolber committed Sep 2, 2009
1 parent 553dc99 commit 2a713db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/docs/js/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Gallery = {
// update current image display
this.imageCountHolder.innerHTML = (newCount + 1) + "/" + this.maxCount;
// update url
window.location.hash = (newCount > 0) ? (newCount + 1) : "";
window.location.hash = (newCount + 1);
},
gotoImage: function(num) {
// if not too high
Expand Down

0 comments on commit 2a713db

Please sign in to comment.