public/assets/plugins/pickletree/pickletree.js
/**
   * this method will lock elements when dragging
   */
this method will lock elements when dragging
this method will lock elements when dragging
async _lock(type = true) {
    const elms = document.querySelectorAll('.drop_target');
    for (let i = 0; i < elms.length; i++) {
      if (type) {
        elms[i].classList.add('disabled');
      } else {
        elms[i].classList.remove('disabled');
      }
    }
  }
async _lock ( type = true ) { const elms = document . querySelectorAll ( '.drop_target' ) ; for ( let i = 0 ; i < elms . length ; i ++ ) { if ( type ) { elms [ i ] . classList . add ( 'disabled' ) ; } else { elms [ i ] . classList . remove ( 'disabled' ) ; } } }
this method will lock elements when dragging
this method will lock elements when dragging