center align text for embedded notes

This commit is contained in:
r888888888
2015-01-30 13:26:04 -08:00
parent 02f24b533f
commit 838ee5bbd8
2 changed files with 11 additions and 0 deletions

View File

@@ -20,6 +20,11 @@ Danbooru.Note = {
var $note_box = $('<div/>');
$note_box.addClass("note-box");
if (Danbooru.Note.embed) {
$note_box.addClass("embedded");
}
$note_box.data("id", String(id));
$note_box.attr("data-id", String(id));
$note_box.draggable({