Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (table === null) {
return;
}
if (event.pos[0] < 0) {
table.style.left = '0px';
}
if (event.pos[1] < 0) {
table.style.top = '0px';
}
}
// Repaint all the connections
jsPlumb.repaintEverything();
},
stop: (event) => {
jQuery(graph_div).scroll(function(){
jsPlumb.repaintEverything();
});