aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/extra.js
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-05 10:09:31 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-05 10:09:31 +0200
commitd4554fa087f9057610085ca685cd8fb79d8f2bd0 (patch)
tree60ab634136516e98d0885d1033a5636233f837b7 /p/scripts/extra.js
parent27f0b614189c090028dfb9a56d1b21f1adf263d4 (diff)
Change add feed action (#3027)
* Docker Alpine 3.12 (#3025) https://alpinelinux.org/posts/Alpine-3.12.0-released.html With PHP 7.3.18 (from 7.3.17) (and Apache 2.4.43 unchanged). No other significant change spotted * Ensure feed attributes are used before load Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/scripts/extra.js')
-rw-r--r--p/scripts/extra.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/p/scripts/extra.js b/p/scripts/extra.js
index 86ee61542..fe4e54739 100644
--- a/p/scripts/extra.js
+++ b/p/scripts/extra.js
@@ -125,21 +125,6 @@ function init_remove_observers() {
});
}
-function init_feed_observers() {
- const s = document.getElementById('category');
- if (s && s.matches('select')) {
- s.onchange = function (ev) {
- const detail = document.getElementById('new_category_name').parentElement;
- if (this.value === 'nc') {
- detail.setAttribute('aria-hidden', 'false');
- detail.querySelector('input').focus();
- } else {
- detail.setAttribute('aria-hidden', 'true');
- }
- };
- }
-}
-
function init_password_observers() {
document.querySelectorAll('.toggle-password').forEach(function (a) {
a.onmousedown = function (ev) {
@@ -257,7 +242,6 @@ function init_extra() {
init_crypto_form();
init_share_observers();
init_remove_observers();
- init_feed_observers();
init_password_observers();
init_select_observers();
init_slider_observers();