client: recent changes list: make possible to use a distinct style for the title of deleted notes

This commit is contained in:
Adorian Doran 2024-12-13 03:11:23 +02:00
parent b41dab090f
commit 0b266393b5

View File

@ -81,7 +81,12 @@ export default class RecentChangesDialog extends BasicWidget {
let $noteLink; let $noteLink;
if (change.current_isDeleted) { if (change.current_isDeleted) {
$noteLink = $("<span>").text(change.current_title); $noteLink = $("<span>");
$noteLink.append($("<span>")
.addClass("note-title")
.text(change.current_title)
);
if (change.canBeUndeleted) { if (change.canBeUndeleted) {
const $undeleteLink = $(`<a href="javascript:">`) const $undeleteLink = $(`<a href="javascript:">`)