Reword re-enable button for search engine filter
parent
49174aa4e7
commit
383c73ec5b
|
@ -222,7 +222,7 @@ function replaceSearchResults(searchResultContainer, site, link) {
|
||||||
// Output link to re-enable disabled result:
|
// Output link to re-enable disabled result:
|
||||||
enableResult = document.createElement('div');
|
enableResult = document.createElement('div');
|
||||||
enableResult.classList.add('iwb-enable-result');
|
enableResult.classList.add('iwb-enable-result');
|
||||||
enableResult.innerText = 'Re-enable non-indie result';
|
enableResult.innerText = 'Re-enable original result';
|
||||||
enableResult.addEventListener('click', function (e) {
|
enableResult.addEventListener('click', function (e) {
|
||||||
e.target.closest('.iwb-disavow').classList.remove('iwb-disavow');
|
e.target.closest('.iwb-disavow').classList.remove('iwb-disavow');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue