#1875: Position dialog near right of screen instead of center

This commit is contained in:
Toks
2013-11-20 13:36:13 -05:00
parent 2ba330abb9
commit 4969377a1c

View File

@@ -73,6 +73,11 @@
dialog.dialog({
title: "Edit tags",
width: $(window).width() / 3,
position: {
my: "right",
at: "right-20",
of: window
},
drag: function(e, ui) {
if (Danbooru.meta("enable-auto-complete") === "true") {
$tag_string.data("uiAutocomplete").close();