Fixing event propagation on resizable.js when using iframes
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user