diff options
author | Vitaly Takmazov | 2019-11-13 10:37:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-11-13 10:37:33 +0300 |
commit | 07659c8302fdaa8b4ce0e8d6a5b030f588b00fc0 (patch) | |
tree | 5534e3c4d5db9890c8b1e31b05aee7623cab89a6 /src/main/assets/scripts.js | |
parent | 4fcfacbdabd96b6b319d3f5cd5e1fc47531ec275 (diff) |
aria-disabled => disabled
Diffstat (limited to 'src/main/assets/scripts.js')
-rw-r--r-- | src/main/assets/scripts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js index 3253b23b..2a34cfcd 100644 --- a/src/main/assets/scripts.js +++ b/src/main/assets/scripts.js @@ -874,7 +874,7 @@ ready(function() { document.querySelectorAll('#header_wrapper a').forEach(el => { if (el.href === location) { el.classList.add('active'); - el.setAttribute('aria-disabled', 'true'); + el.setAttribute('disabled', 'disabled'); } }); initES(); |