Fixed href links in popup window

This commit is contained in:
Achiya Elyasaf
2023-08-06 10:02:16 +03:00
parent f92137dcaa
commit 729017fd5f

View File

@@ -88,5 +88,10 @@ $(document).ready(async function () {
commands.forEach((key) => {
$(`#settings-form input[name='text-${key}']:checkbox`).on('change', makeHandleSettingChange(key))
})
$('body').on('click', 'a', function(){
chrome.tabs.create({url: $(this).attr('href')});
return false;
});
return refreshStorage()
})