This commit is contained in:
albert
2012-01-13 19:26:45 -05:00
parent 15ef261ffb
commit 29e44b9bfd
2 changed files with 2 additions and 3 deletions

View File

@@ -176,7 +176,6 @@ Danbooru.Note = {
$note_body.css({width: $note_body.width() + 5});
}
console.log("left=%d width=%d", $image.offset().left, $image.width());
if ($note_body.offset().left + $note_body.width() > doc_width) {
$note_body.css({
left: $note_body.position().left - 10 - ($note_body.offset().left + $note_body.width() - doc_width)