aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-04-11 22:54:19 +0200
committerGravatar GitHub <noreply@github.com> 2022-04-11 22:54:19 +0200
commit4191f9859ec1ec524167478c6fffce1da219a8fe (patch)
treedb217aac6ca719c7e9121f33d8d5be10de917234 /p/scripts
parent5e28bf8b403205642cf09aad5ef47ed1aa781a5d (diff)
Improved: dropdown close area (#4293)
* fix Ansum theme: close X in white * fix Mapco theme: close X in white * move the dropdown-close outside of the list * CSS * bring flux elemt behind the grey background * Update main.js
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 6e9f761cc..bd531ad02 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -692,7 +692,7 @@ function auto_share(key) {
key = parseInt(key);
if (key <= shares.length) {
shares[key - 1].click();
- share.parentElement.querySelector('.dropdown-menu .dropdown-close a').click();
+ share.parentElement.querySelector('.dropdown-menu + a.dropdown-close').click();
}
}