X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/61bb31ebdddc9e7c317a1c6784a68874d5a0ef80..248d0b863cde44881574ef01b974afeb2cad12e9:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 1f9e6c891..1cbd97f86 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -46,7 +46,8 @@ var content = $(xhr.responseText); if (xhr.getResponseHeader('X-Page-Title')) { - document.title = xhr.getResponseHeader('X-Page-Title'); + var title = xhr.getResponseHeader('X-Page-Title'); + document.title = decodeURIComponent(escape(title)); } $('head')