Update deprecated function

pull/118/head
Kevin Payravi 2023-04-14 03:05:47 -05:00
parent dd1d96419e
commit 5cfec34027
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ document.addEventListener('DOMContentLoaded', function () {
// Listener for settings page in new tab: // Listener for settings page in new tab:
document.getElementById('openSettings').addEventListener('click', function () { 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(); window.close();
}); });