added classname for link loading component
This commit is contained in:
parent
a25d2cd77f
commit
4e2cb14be1
1
public/akaunting-js/generalAction.js
vendored
1
public/akaunting-js/generalAction.js
vendored
@ -295,6 +295,7 @@ function OnInput() {
|
||||
//Loading scenario for href links
|
||||
document.querySelectorAll('[data-link-loading]').forEach((href) => {
|
||||
let target_link_html = href.parentElement;
|
||||
target_link_html.classList.add('relative');
|
||||
|
||||
target_link_html.addEventListener('click', function () {
|
||||
this.classList.add('disabled-link');
|
||||
|
Loading…
x
Reference in New Issue
Block a user