function removeMagnificationCanvas(element) {
  var magnifyCanvas = element.querySelector('.magnifyTool');

  if (magnifyCanvas) {
    element.removeChild(magnifyCanvas);
  }
}
/** Find the magnifying glass canvas and remove it */
Find the magnifying glass canvas and remove it
Find the magnifying glass canvas and remove it
function removeMagnificationCanvas(element) {
  var magnifyCanvas = element.querySelector('.magnifyTool');
  if (magnifyCanvas) {
    element.removeChild(magnifyCanvas);
  }
}
function removeMagnificationCanvas ( element ) { var magnifyCanvas = element . querySelector ( '.magnifyTool' ) ; if ( magnifyCanvas ) { element . removeChild ( magnifyCanvas ) ; } }
Find the magnifying glass canvas and remove it
Find the magnifying glass canvas and remove it