fix: mark-button direkt nach reply-button einfügen statt am Ende
This commit is contained in:
1 parent
632424fb73
commit
402fbc5a40
1 file changed
+6
-1
+6
-1
@@ -52,7 +52,12 @@ function _addMarkButton(div, messageId, isMarked) {
|
||||
console.error('Mark toggle failed:', err);
|
||||
}
|
||||
});
|
||||
div.appendChild(btn);
|
||||
const replyBtn = div.querySelector('.msg-reply-btn');
|
||||
if (replyBtn) {
|
||||
replyBtn.after(btn);
|
||||
} else {
|
||||
div.prepend(btn);
|
||||
}
|
||||
}
|
||||
|
||||
// ── Reply Button ──
|
||||
|
||||
Reference in new issue
Block a user