Skip to content

Commit

Permalink
Update searchJumper.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Sep 12, 2024
1 parent 2c4f87c commit 2d4935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searchJumper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5522,7 +5522,7 @@
return result;
}
dom.childNodes.forEach(ele => {
if ((ele.classList && ele.classList.contains("searchJumper")) || /^(img|svg|picture|br|hr)$/i.test(ele.nodeName)) {
if ((ele.classList && ele.classList.contains("searchJumper")) || /^(img|svg|picture|br|hr|textarea)$/i.test(ele.nodeName)) {
const start = result.text.length;
result.text += "\n";
result.data[start] = {node: ele, text: "\n"};
Expand Down

0 comments on commit 2d4935b

Please sign in to comment.