From 8130b38368baec913df53a63f14a9e4af1a31a75 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Sat, 8 Feb 2025 11:45:53 +0100 Subject: [PATCH] Remove IE<10 workaround --- app/assets/javascripts/index.js | 8 -------- 1 file changed, 8 deletions(-) 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(); -- 2.39.5