Merge branch 'master' of https://github.com/brkcvn/akaunting into form-elements
This commit is contained in:
Vendored
+14
-1
@@ -290,4 +290,17 @@ function OnInput() {
|
||||
this.style.height = 'auto';
|
||||
this.style.height = (this.scrollHeight) + 'px';
|
||||
}
|
||||
//Auto Height for Textarea
|
||||
//Auto Height for Textarea
|
||||
|
||||
//Loading scenario for href links
|
||||
document.querySelectorAll('[data-link-loading]').forEach((href) => {
|
||||
let target_link_html = href.parentElement;
|
||||
|
||||
target_link_html.addEventListener('click', function () {
|
||||
this.classList.add('disabled-link');
|
||||
this.querySelector('[data-link-spin]').classList.remove('hidden');
|
||||
this.querySelector('[data-link-text]').classList.add('opacity-0');
|
||||
this.querySelector('[data-link-text]').classList.remove('opacity-1');
|
||||
});
|
||||
});
|
||||
//Loading scenario for href links
|
||||
Vendored
+6
@@ -35749,6 +35749,12 @@ html[dir='rtl'] .el-input__suffix {
|
||||
text-overflow: unset;
|
||||
}
|
||||
|
||||
.disabled-link{
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
.small-table-width {
|
||||
width: 450px;
|
||||
|
||||
Reference in New Issue
Block a user