# HG changeset patch # User Tero Marttila # Date 1263041031 -7200 # Node ID 7577a3b68ccc206a3f4cdcc7737097f04658659a # Parent 201257cbd887892c0fba32233b4e2d4cac4f0413 don't include # in document.location.hash value diff -r 201257cbd887 -r 7577a3b68ccc static/tiles2.js --- a/static/tiles2.js Sat Jan 09 13:48:00 2010 +0200 +++ b/static/tiles2.js Sat Jan 09 14:43:51 2010 +0200 @@ -556,7 +556,7 @@ */ update_scroll_ui: function () { // update the link-to-this-page thing - document.location.hash = "#" + (this.scroll_x + this.center_offset_x) + ":" + (this.scroll_y + this.center_offset_y) + ":" + this.zoom_layer.level; + document.location.hash = (this.scroll_x + this.center_offset_x) + ":" + (this.scroll_y + this.center_offset_y) + ":" + this.zoom_layer.level; // update link-to-image this.update_image_link();