From 79a6feeb4b88c3b9a49bfb6a4fcbc93a3dc0457f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 3 Jul 2020 15:53:48 +0200 Subject: [PATCH] js: Only add requests to the history if they're going to `#main` --- public/js/icinga/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 6d4716bd8..4d71ebdac 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -292,7 +292,7 @@ req.scripted = false; req.method = method; req.action = action; - req.addToHistory = true; + req.addToHistory = $target.parent().is('#main'); req.progressTimer = progressTimer; if (url.match(/#/)) {