Remove IE<10 workaround

This commit is contained in:
Marwin Hochfelsner 2025-02-08 11:45:53 +01:00
parent 98e4dfb87e
commit 8130b38368

View file

@ -38,14 +38,6 @@ $(document).ready(function () {
$("#sidebar_loader").show().addClass("delayed-fade-in"); $("#sidebar_loader").show().addClass("delayed-fade-in");
// IE<10 doesn't respect Vary: X-Requested-With header, so
// prevent caching the XHR response as a full-page URL.
if (content_path.indexOf("?") >= 0) {
content_path += "&xhr=1";
} else {
content_path += "?xhr=1";
}
$("#sidebar_content") $("#sidebar_content")
.empty(); .empty();