patch inquiry link - replace me with server-side fix
parent
5a70d8b145
commit
7953eed94a
|
@ -35,4 +35,12 @@ $(function () {
|
|||
});
|
||||
|
||||
Mousetrap.bind('d', () => $('#inquiry .actions.close form.process button[type="submit"]').trigger('click'));
|
||||
|
||||
$('#inquiry .atom p').each(function () {
|
||||
$(this).html(
|
||||
$(this)
|
||||
.html()
|
||||
.replaceAll(/lichess\.org\/([\w\/]{8,})/g, '<a href="/$1">$1</a>')
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue