Making bounded plugin use CSS transform

This commit is contained in:
Bruno Alves de Faria committed 2017-11-06 17:02:39 -02:00
1 parent 3d250fe9b6
commit 5ef91e0c71
4 files changed
+49 -9

No files matched your search

@@ -237,7 +237,7 @@ Template.cineDialog.onRendered(() => {
instance.setResizeHandler(instance.setOptimalPosition);
// Make the CINE dialog bounded and draggable
$dialog.draggable({ defaultElementCursor: 'move' });
$dialog.draggable({ defaultElementCursor: 'move' }).bounded();
// Polyfill for older browsers
dialogPolyfill.registerDialog($dialog.get(0));