Open UrVerySpecial opened 8 years ago
ngpImageResizer.js
function removeResizer(event) {
if (!resizerContainer.parentNode) {
return;
}
if (event && event.target && event.target.tagName === 'IMG') {
return;
}
resizerContainer.style.display = 'none';
lastVerticalCursorPosition = null;
}
this code
if (event && event.target.tagName === 'IMG')
{
return;
}
to
if (event && event.target && event.target.tagName === 'IMG') {
return;
}
will be fix, but it's not perfect solution. I think resizer have to hide when image is deleted.
Hi, first of all, I really appreciate for this module.
I found bug(maybe..).
I founding solution, but if you already have, fix it please.
regards, kang