code refactoring for animate marquee
This commit is contained in:
parent
0ab2a7966c
commit
4fca5a6a92
2
public/akaunting-js/generalAction.js
vendored
2
public/akaunting-js/generalAction.js
vendored
@ -451,7 +451,7 @@ document.querySelectorAll('[data-truncate-marquee]').forEach((truncate) => {
|
||||
|
||||
//disable/enable icons ejected from data-truncate-marquee, HTML of icons ejected from parent element (data-truncate-marquee)
|
||||
document.querySelectorAll('[data-index-icon]').forEach((defaultText) => {
|
||||
if (defaultText.closest('tr')) {
|
||||
if (defaultText.closest('[data-table-list]')) {
|
||||
let icon_parents_element = defaultText.parentElement.parentElement.parentElement;
|
||||
|
||||
if (icon_parents_element.classList.contains('flex')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user