diff --git a/public/akaunting-js/generalAction.js b/public/akaunting-js/generalAction.js index c6b29a79a..7784ca600 100644 --- a/public/akaunting-js/generalAction.js +++ b/public/akaunting-js/generalAction.js @@ -246,10 +246,10 @@ function runTooltip(tooltipToggleEl) { function show() { // Make the tooltip visible - tooltipEl.classList.remove("opacity-0"); - tooltipEl.classList.add("opacity-100"); - tooltipEl.classList.remove("invisible"); - tooltipEl.classList.add("visible"); + tooltipEl.classList.remove("opacity-0"); + tooltipEl.classList.add("opacity-100"); + tooltipEl.classList.remove("invisible"); + tooltipEl.classList.add("visible"); // Enable the event listeners popperInstance.setOptions((options) => ({ @@ -267,11 +267,11 @@ function runTooltip(tooltipToggleEl) { } function hide() { + tooltipEl.classList.remove("opacity-100"); + tooltipEl.classList.add("opacity-0"); + tooltipEl.classList.remove("visible"); + tooltipEl.classList.add("invisible"); // Hide the tooltip - tooltipEl.classList.remove("opacity-100"); - tooltipEl.classList.add("opacity-0"); - tooltipEl.classList.remove("visible"); - tooltipEl.classList.add("invisible"); // Disable the event listeners popperInstance.setOptions((options) => ({ diff --git a/public/css/app.css b/public/css/app.css index 9d098a3be..10c97872c 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -57885,5 +57885,12 @@ body{ .\32xl\:w-8{ width: 2rem; } + + .\32xl\:flex-row{ + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } } diff --git a/resources/assets/js/components/AkauntingSearch.vue b/resources/assets/js/components/AkauntingSearch.vue index 7ba705ff1..fa2833500 100644 --- a/resources/assets/js/components/AkauntingSearch.vue +++ b/resources/assets/js/components/AkauntingSearch.vue @@ -645,12 +645,14 @@ export default { }, closeIfClickedOutside(event) { - if (!document.getElementById('search-field-' + this._uid).contains(event.target) && event.target.getAttribute('data-btn') != 'btn btn-link') { - this.visible.options = false; - this.visible.operator = false; - this.visible.values = false; + if (document.getElementById('search-field-' + this._uid)) { + if (!document.getElementById('search-field-' + this._uid).contains(event.target) && event.target.getAttribute('data-btn') != 'btn btn-link') { + this.visible.options = false; + this.visible.operator = false; + this.visible.values = false; - document.removeEventListener('click', this.closeIfClickedOutside); + document.removeEventListener('click', this.closeIfClickedOutside); + } } }, }, diff --git a/resources/assets/js/views/portal/apps.js b/resources/assets/js/views/portal/apps.js index 547c56aa4..1cb97f284 100644 --- a/resources/assets/js/views/portal/apps.js +++ b/resources/assets/js/views/portal/apps.js @@ -147,6 +147,10 @@ const app = new Vue({ resolve({ template: '