minor js fix

This commit is contained in:
Toks
2013-05-29 15:57:17 -04:00
parent 5c3dc88b36
commit 85207de73c

View File

@@ -259,7 +259,7 @@ Danbooru.Note = {
$note_body.css("background-color", "");
if ($note_body.contents(":not(br)").length === 1) {
color = $note_body.children().first().css("background-color");
var color = $note_body.children().first().css("background-color");
if (color !== "transparent") {
$note_body.css("background-color", color);
}