From 9f77a3b62c91fba063dd714c4f3c62857a554dae Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 17 Aug 2023 08:50:19 +0200 Subject: [PATCH] action-list.js: Use `getAttribute` to get `href` - `.href` returns the whole url with `http(s)`. --- public/js/action-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/action-list.js b/public/js/action-list.js index afa26192b..2a586b1ba 100644 --- a/public/js/action-list.js +++ b/public/js/action-list.js @@ -418,7 +418,7 @@ url = this.createMultiSelectUrl(activeItems); } else { let anchor = activeItems[0].querySelector('[href]'); - url = anchor ? anchor.href : null; + url = anchor ? anchor.getAttribute('href') : null; } }