From 67c65a3825ffd64bdd1d9c6ebc24769c15b8b006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1zhan?= Date: Mon, 19 Apr 2021 16:28:44 +0300 Subject: [PATCH] 'window.location.href' was assigned to itself. --- src/bb-themes/boxbilling/assets/js/bb-jquery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bb-themes/boxbilling/assets/js/bb-jquery.js b/src/bb-themes/boxbilling/assets/js/bb-jquery.js index 87dd983d5..8f81ccac8 100644 --- a/src/bb-themes/boxbilling/assets/js/bb-jquery.js +++ b/src/bb-themes/boxbilling/assets/js/bb-jquery.js @@ -50,7 +50,7 @@ var bb = { return $('meta[property="bb:url"]').attr("content") + 'index.php?_url=/api/' + url; }, reload: function() { - window.location.href=window.location.href + window.location = document.URL; }, redirect: function(url) { if(url === undefined) { @@ -276,4 +276,4 @@ jQuery(function ($) { $('a.show-tip').tipsy({fade: true, delayIn: 500}); } -}); \ No newline at end of file +});