diff --git a/web/js/image/panel.js b/web/js/image/panel.js index c7143448b9..a530819ee6 100644 --- a/web/js/image/panel.js +++ b/web/js/image/panel.js @@ -227,8 +227,8 @@ export function imagePanel(models, ui, config) { .attr('selected', 'selected'); wvui.positionDialog($dialog, { - my: 'left top', - at: 'left bottom+5', + my: 'right top', + at: 'right bottom+5', of: ('#wv-image-button') }); $dialog.dialog('open'); diff --git a/web/js/link/ui.js b/web/js/link/ui.js index d15d982217..fb40f2ea7b 100644 --- a/web/js/link/ui.js +++ b/web/js/link/ui.js @@ -193,14 +193,14 @@ export function linkUi(models, config) { }); if (util.browser.small) { wvui.positionDialog($dialog, { - my: 'left top', - at: 'left+58 bottom+5', + my: 'right top', + at: 'right-58 bottom+5', of: '#wv-toolbar' }); } else { wvui.positionDialog($dialog, { - my: 'left top', - at: 'left bottom+5', + my: 'right top', + at: 'right bottom+5', of: $label }); } diff --git a/web/js/ui/ui.js b/web/js/ui/ui.js index 3de08fb2d3..a7b8119d1e 100644 --- a/web/js/ui/ui.js +++ b/web/js/ui/ui.js @@ -1,6 +1,7 @@ import $ from 'jquery'; import 'jquery-ui/dialog'; import 'jquery-ui/menu'; +import 'jquery-ui/position'; import loadingIndicator from './indicator'; import info from './info'; import mouse from './mouse';