console error fixed
This commit is contained in:
parent
7eb46459b1
commit
b10ff1fc69
3
public/akaunting-js/generalAction.js
vendored
3
public/akaunting-js/generalAction.js
vendored
@ -190,6 +190,7 @@ function runDropdown(dropdownToggleEl) {
|
||||
],
|
||||
}); // toggle when click on the button
|
||||
|
||||
if (dropdownMenuEl !== null) {
|
||||
dropdownMenuEl.classList.toggle("hidden");
|
||||
dropdownMenuEl.classList.toggle("block");
|
||||
|
||||
@ -219,10 +220,12 @@ function runDropdown(dropdownToggleEl) {
|
||||
dropdownMenuEl.classList.remove("block");
|
||||
return;
|
||||
}
|
||||
debugger;
|
||||
dropdownMenuEl.classList.add("block");
|
||||
dropdownMenuEl.classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
// Toggle dropdown elements using [data-dropdown-toggle]
|
||||
|
||||
// Tooltip elements using [data-tooltip-target], [data-tooltip-placement]
|
||||
|
Loading…
x
Reference in New Issue
Block a user