console error fixed

This commit is contained in:
Burak Civan 2022-12-16 14:25:49 +03:00
parent 4589212676
commit 0bca9ae3b9
3 changed files with 6 additions and 5 deletions

View File

@ -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
View File

@ -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"]{

View File

@ -78,7 +78,7 @@
.disabled-money input, .disabled-money {
background-color:transparent !important;
border: none;
border: none !important;
}
[type="radio"] {