minor js fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user