revert fix for #1691

This commit is contained in:
Toks
2013-05-29 16:55:29 -04:00
parent 85207de73c
commit a4f47cfc41

View File

@@ -256,14 +256,6 @@ Danbooru.Note = {
text = text.replace(/<\/tn>/g, '</p>');
text = text.replace(/\n/g, '<br>');
$note_body.html(text);
$note_body.css("background-color", "");
if ($note_body.contents(":not(br)").length === 1) {
var color = $note_body.children().first().css("background-color");
if (color !== "transparent") {
$note_body.css("background-color", color);
}
}
},
bind_events: function($note_body) {