Skip to content

Commit

Permalink
Undo highlight removal behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPoppe committed Dec 12, 2023
1 parent e161fed commit 0d7a423
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions api_user_rights.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,13 +499,4 @@ $(document).ready(function () {
$(el).html($(el).text().replace(regex, '<mark>$1</mark>'));
});
});
$("#aur-filter-methods").on("blur", function () {
const markRegex = new RegExp('<mark>(.*?)</mark>', 'gi');
$('#editorForm label').each((i, el) => {
$(el).html($(el).text().replace(markRegex, '$1'));
});
$('#editorForm .card-header').each((i, el) => {
$(el).html($(el).text().replace(markRegex, '$1'));
});
});
});

0 comments on commit 0d7a423

Please sign in to comment.