Update deprecated function
parent
dd1d96419e
commit
5cfec34027
2
popup.js
2
popup.js
|
@ -165,7 +165,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
|
||||
// Listener for settings page in new tab:
|
||||
document.getElementById('openSettings').addEventListener('click', function () {
|
||||
chrome.tabs.create({'url': chrome.extension.getURL('settings.html')});
|
||||
chrome.tabs.create({'url': chrome.runtime.getURL('settings.html')});
|
||||
window.close();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue