aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 75cf5f65c..b3781c8b5 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -896,11 +896,6 @@ function init_column_categories() {
if (b) {
b.disabled = false;
}
- } else if (getComputedStyle(dropdownMenu).display === 'none') {
- const id2 = div.closest('.item').id.substr(2);
- a.href = '#dropdown-' + id2;
- } else {
- a.href = '#close';
}
return true;
}