mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Prettier & eslint project style update
This commit is contained in:
parent
a0a482aa8e
commit
3eb4d2c341
116 changed files with 6216 additions and 5240 deletions
|
|
@ -27,10 +27,7 @@ function copyTitleInAriaLabel(attributes) {
|
|||
// which is a little bit hacky -- but still reasonable with our ES6 usage. If we
|
||||
// end up switching to React we will probably create lower level small
|
||||
// components to handle that without overwriting any build-in function.
|
||||
const {
|
||||
A: superA,
|
||||
I: superI,
|
||||
} = HTML;
|
||||
const { A: superA, I: superI } = HTML;
|
||||
|
||||
HTML.A = (attributes, ...others) => {
|
||||
return superA(copyTitleInAriaLabel(enforceHref(attributes)), ...others);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue