Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvialf committed Jan 14, 2024
1 parent 8eeb8b1 commit b10e85b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions desktop/js/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (!jeeFrontEnd.display) {
Sortable.create(document.getElementById('accordionObject'), {
delay: 50,
draggable: '.objectSortable',
filter: 'input, textarea',
filter: '.eqLogic',
preventOnFilter: false,
direction: 'vertical',
chosenClass: 'dragSelected',
Expand Down Expand Up @@ -464,9 +464,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function(
}

if (_target = event.target.closest('.eqLogicSortable > li.eqLogic')) {
if (_target.tagName.toUpperCase() == 'I') return
if (_target.tagName.toUpperCase() == 'INPUT') return
if (_target.hasClass('cmd')) return
if (event.target.closest('ul.cmdSortable')) return
var el = _target.querySelector('ul.cmdSortable')
if (el.isVisible()) {
el.unseen()
Expand All @@ -483,10 +481,6 @@ document.getElementById('div_pageContainer').addEventListener('change', function
jeeP.setEqActions()
return
}
if (_target = event.target.closest('.cb_selEqLogic')) {
jeeP.setEqActions()
return
}

if (_target = event.target.closest('#cb_actifDisplay')) {
if (_target.checked) {
Expand Down

0 comments on commit b10e85b

Please sign in to comment.