Commit f4e9b9af authored by Dave Reid's avatar Dave Reid

Fixed URL added to the XSL title without being sanitized.

parent 44a942b3
......@@ -28,9 +28,10 @@ $.tablesorter.addParser({
});
$(document).ready(function() {
// Set some location variales.
$('h1').append(': ' + location);
document.title += ': ' + location;
// Set some location variables.
var h1 = $('h1');
h1.text(h1.text() + ': ' + location);
document.title = h1.text();
$('table').tablesorter({
sortList: [[0,0]],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment