Merge pull request #3006 from BernieHuang2008/fix-3003

fix: [BUG] Images cannot be clicked anymore
This commit is contained in:
Paul Braeuning 2023-11-14 16:11:29 +01:00 committed by GitHub
commit b3d29cb86d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,9 @@
}
));
d.querySelector('#search_url button#copy_url').style.display = "block";
if (d.querySelector('#search_url button#copy_url')) {
d.querySelector('#search_url button#copy_url').style.display = "block";
}
searxng.on('.btn-collapse', 'click', function () {
var btnLabelCollapsed = this.getAttribute('data-btn-text-collapsed');