From 27a36c90b294d81c2399f385bb9723b36baf6df9 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Sat, 12 Feb 2022 19:21:59 +0100
Subject: [PATCH] #658 - cleanup

---
 src/main/resources/static/js/customSelect.js | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/main/resources/static/js/customSelect.js b/src/main/resources/static/js/customSelect.js
index dfdc4ab6e..83742cd38 100644
--- a/src/main/resources/static/js/customSelect.js
+++ b/src/main/resources/static/js/customSelect.js
@@ -39,18 +39,6 @@ function initCustomSelects()
         allCustomSelects.push(accountStateSelect);
     }
 
-    let selectorGlobalAccountSelect = '.global-account-select-wrapper';
-    if($(selectorGlobalAccountSelect).length)
-    {
-        let globalAccountSelect = new CustomSelect(selectorGlobalAccountSelect, function()
-        {
-            let accountID = document.querySelector(globalAccountSelect.getSelector() + ' .hidden-input-custom-select').value;
-            window.location = rootURL + "/accounts/" + accountID + "/select";
-        });
-        globalAccountSelect.init();
-        allCustomSelects.push(globalAccountSelect);
-    }
-
     Mousetrap.bind('enter', function(event)
     {
         if(isSearchFocused())
-- 
GitLab