From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Sat, 8 Feb 2025 10:45:53 +0000 (+0100) Subject: Remove IE<10 workaround X-Git-Tag: live~24^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8130b38368baec913df53a63f14a9e4af1a31a75 Remove IE<10 workaround --- diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 4555553ee..a94131443 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -38,14 +38,6 @@ $(document).ready(function () { $("#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") .empty();