Index: desktop-options.js |
=================================================================== |
--- a/desktop-options.js |
+++ b/desktop-options.js |
@@ -181,17 +181,17 @@ |
}); |
// Load recommended subscriptions |
loadRecommendations(); |
// Show user's filters |
reloadFilters(); |
} |
-$(loadOptions); |
+$(document).on("DOMContentLoaded", loadOptions); |
Sebastian Noack
2017/10/05 19:50:28
Why not avoiding jQuery at all and just use docume
Manish Jethani
2017/10/05 20:10:13
Yes, that makes sense.
Done.
(I've also moved it
|
function convertSpecialSubscription(subscription) |
{ |
for (let filter of subscription.filters) |
{ |
if (whitelistedDomainRegexp.test(filter.text)) |
appendToListBox("excludedDomainsBox", RegExp.$1); |
else |