console error fixed
This commit is contained in:
parent
4589212676
commit
0bca9ae3b9
7
public/akaunting-js/generalAction.js
vendored
7
public/akaunting-js/generalAction.js
vendored
@ -54,11 +54,12 @@ document.querySelectorAll("[data-table-body]").forEach((table) => {
|
||||
|
||||
if (document.body.clientWidth <= 768) {
|
||||
table.querySelectorAll('[data-table-list]').forEach((actions) => {
|
||||
if (actions.querySelector('[data-mobile-actions]') !== null) {
|
||||
actions.querySelector('[data-mobile-actions]').addEventListener('click', function() {
|
||||
let actions_html = actions.querySelector('[data-mobile-actions]');
|
||||
if (actions_html) {
|
||||
actions_html.addEventListener('click', function() {
|
||||
this.closest('td').querySelector('[data-mobile-actions-modal]').classList.add('show');
|
||||
this.closest('td').querySelector('[data-mobile-actions-modal]').classList.remove('opacity-0', 'invisible');
|
||||
|
||||
|
||||
this.closest('td').querySelector('[data-mobile-actions-modal]').addEventListener('click', function() {
|
||||
this.classList.add('opacity-0', 'invisible');
|
||||
this.classList.remove('show');
|
||||
|
2
public/css/app.css
vendored
2
public/css/app.css
vendored
@ -1355,7 +1355,7 @@ input[type=file]::file-selector-button:hover{
|
||||
|
||||
.disabled-money input, .disabled-money {
|
||||
background-color:transparent !important;
|
||||
border: none;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
[type="radio"]{
|
||||
|
2
resources/assets/sass/app.css
vendored
2
resources/assets/sass/app.css
vendored
@ -78,7 +78,7 @@
|
||||
|
||||
.disabled-money input, .disabled-money {
|
||||
background-color:transparent !important;
|
||||
border: none;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
[type="radio"] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user