Merge pull request #2694 from brkcvn/master
Icon line fixed for marquee animation
This commit is contained in:
commit
ddabd64e13
6
public/akaunting-js/generalAction.js
vendored
6
public/akaunting-js/generalAction.js
vendored
@ -430,10 +430,12 @@ document.querySelectorAll('[data-index-icon]').forEach((defaultText) => {
|
||||
if (icon_parents_element.classList.contains('flex')) {
|
||||
icon_parents_element.appendChild(defaultText);
|
||||
} else {
|
||||
if (icon_parents_element.classList.contains('overflow-x-hidden')) {
|
||||
icon_parents_element.parentElement.appendChild(defaultText);
|
||||
} else {
|
||||
defaultText.parentElement.appendChild(defaultText);
|
||||
}
|
||||
}
|
||||
|
||||
// defaultText.parentElement.parentElement.parentElement.parentElement.appendChild(defaultText);
|
||||
});
|
||||
//disable/enable icons ejected from data-truncate-marquee
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user