editor/js/reaction.js
// Removes from the DOM the nearest ancestor element matching the pattern.
Removes from the DOM the nearest ancestor element matching the pattern.
Removes from the DOM the nearest ancestor element matching the pattern .
function removeSlowly(button, pattern) {
  const node = $(button).closest(pattern);
  node.hide('slow', () => node.remove());
  dirty();
}
function removeSlowly ( button , pattern ) { const node = $ ( button ) . closest ( pattern ) ; node . hide ( 'slow' , ( ) => node . remove ( ) ) ; dirty ( ) ; }
Removes from the DOM the nearest ancestor element matching the pattern.
Removes from the DOM the nearest ancestor element matching the pattern .