Commit 94b9d515 authored by Dave Reid's avatar Dave Reid

Fixed URL added to the XSL title without being sanitized.

parent 97d12910
......@@ -28,9 +28,10 @@
});
$(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