From d4554fa087f9057610085ca685cd8fb79d8f2bd0 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Fri, 5 Jun 2020 10:09:31 +0200 Subject: 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 --- p/scripts/extra.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'p/scripts') 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(); -- cgit v1.2.3