diff --git a/data/js/tomahawk.js b/data/js/tomahawk.js index 4563f60ef..24d7e5ebd 100644 --- a/data/js/tomahawk.js +++ b/data/js/tomahawk.js @@ -659,7 +659,7 @@ Tomahawk.ajax = function (url, settings) { var contentType; if (settings.dataType === 'json') { contentType = 'application/json'; - } else if (contentType === 'xml') { + } else if (settings.dataType === 'xml') { contentType = 'text/xml'; } else if (typeof xhr.getResponseHeader !== 'undefined') { contentType = xhr.getResponseHeader('Content-Type');