Fixed href links in popup window
This commit is contained in:
@@ -88,5 +88,10 @@ $(document).ready(async function () {
|
|||||||
commands.forEach((key) => {
|
commands.forEach((key) => {
|
||||||
$(`#settings-form input[name='text-${key}']:checkbox`).on('change', makeHandleSettingChange(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()
|
return refreshStorage()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user