Fixing event propagation on resizable.js when using iframes

This commit is contained in:
Bruno Alves de Faria committed 2016-11-21 18:04:52 -02:00
1 parent 3474fee906
commit f140a64f60
2 files changed
+5 -2

No files matched your search

@@ -48,6 +48,11 @@ OHIF.ui.makeDraggable = function(element) {
return;
}
// Stop the dragging if the element is being resized
if ($(element).hasClass('resizing')) {
return;
}
var elementTop = parseFloat(element.offset().top),
elementLeft = parseFloat(element.offset().left);