aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-11-13 10:37:33 +0300
committerGravatar Vitaly Takmazov2019-11-13 10:37:33 +0300
commit07659c8302fdaa8b4ce0e8d6a5b030f588b00fc0 (patch)
tree5534e3c4d5db9890c8b1e31b05aee7623cab89a6 /src
parent4fcfacbdabd96b6b319d3f5cd5e1fc47531ec275 (diff)
aria-disabled => disabled
Diffstat (limited to 'src')
-rw-r--r--src/main/assets/scripts.js2
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();