revert fix for #1691
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user