From ac7f365a3a72dcc5974921f7cce0f29527055d4a Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 17 Aug 2014 19:06:20 +0200 Subject: [PATCH] Centered dialog --- assets/js/album.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/album.js b/assets/js/album.js index dc7a8b4..f0f60b8 100644 --- a/assets/js/album.js +++ b/assets/js/album.js @@ -292,7 +292,7 @@ album = { if (!visible.message()&&album.json.public==0) { - modal.show("Share Album", "This album will be shared with the following properties:

Visible

Listed to visitors of your Lychee.

Downloadable

Visitors of your Lychee can download this album.

Password protected

Only accessible with a valid password.

", [["Share Album", function() { album.setPublic(album.getID(), e) }], ["Cancel", function() {}]], -160); + modal.show("Share Album", "This album will be shared with the following properties:

Visible

Listed to visitors of your Lychee.

Downloadable

Visitors of your Lychee can download this album.

Password protected

Only accessible with a valid password.

", [["Share Album", function() { album.setPublic(album.getID(), e) }], ["Cancel", function() {}]], -170); $(".message .choice input[name='password']").on("change", function() {