Fix CSS class name

This commit is contained in:
i.j 2023-09-23 22:02:35 +00:00
parent d165c659aa
commit 063589ddbf

View File

@ -463,7 +463,7 @@ MastodonApi.prototype.assambleToot = function (c, i) {
let content = ""; let content = "";
if (c.spoiler_text !== "") { if (c.spoiler_text !== "") {
content = content =
'<div class="toot-text">' + '<div class="mt-toot-text">' +
c.spoiler_text + c.spoiler_text +
' <button type="button" class="spoiler-btn" aria-expanded="false">Show more</button>' + ' <button type="button" class="spoiler-btn" aria-expanded="false">Show more</button>' +
'<div class="spoiler-text-hidden">' + '<div class="spoiler-text-hidden">' +
@ -476,7 +476,7 @@ MastodonApi.prototype.assambleToot = function (c, i) {
c.reblog.spoiler_text !== "" c.reblog.spoiler_text !== ""
) { ) {
content = content =
'<div class="toot-text">' + '<div class="mt-toot-text">' +
c.reblog.spoiler_text + c.reblog.spoiler_text +
' <button type="button" class="spoiler-btn" aria-expanded="false">Show more</button>' + ' <button type="button" class="spoiler-btn" aria-expanded="false">Show more</button>' +
'<div class="spoiler-text-hidden">' + '<div class="spoiler-text-hidden">' +