Project

General

Profile

« Previous | Next » 

Revision 7906

web/vegpath/index.php: URL fragment redirect: Fixed bug where can't prefix the fragment with / because this won't work if VegPath is not at the top-level of the domain (and in any case is unnecessary to form a relative path)

View differences:

web/vegpath/index.php
164 164
	var fragment = rm_prefix('#', loc.hash)
165 165
	var namespace = parse_dot_path(fragment).head
166 166
	document.getElementById(namespace).className = 'progress'
167
	document.location = '/'+fragment
167
	document.location = fragment
168 168
}
169 169
			</script>
170 170
		</blockquote>

Also available in: Unified diff