public/views/desktop.js
// Remove eventListener after resize event.
Remove eventListener after resize event.
Remove eventListener after resize event .
function stopResize_y() {
  document.body.style.cursor = 'auto';
  window.removeEventListener('mousemove', resize_y);
  window.removeEventListener('touchmove', resize_y);
  window.removeEventListener('mouseup', stopResize_y);
  window.removeEventListener('touchend', stopResize_y);
  desktop.map.dispatchEvent(new CustomEvent('updatesize'));
  desktop.dataview.dispatchEvent(new CustomEvent('updatesize'));
}
function stopResize_y ( ) { document . body . style . cursor = 'auto' ; window . removeEventListener ( 'mousemove' , resize_y ) ; window . removeEventListener ( 'touchmove' , resize_y ) ; window . removeEventListener ( 'mouseup' , stopResize_y ) ; window . removeEventListener ( 'touchend' , stopResize_y ) ; desktop . map . dispatchEvent ( new CustomEvent ( 'updatesize' ) ) ; desktop . dataview . dispatchEvent ( new CustomEvent ( 'updatesize' ) ) ; }
Remove eventListener after resize event.
Remove eventListener after resize event .