7 lines
238 B
JavaScript
7 lines
238 B
JavaScript
|
document.querySelector('#options').addEventListener('click', function () {
|
||
|
if (chrome.runtime.openOptionsPage) {
|
||
|
chrome.runtime.openOptionsPage();
|
||
|
} else {
|
||
|
window.open(chrome.runtime.getURL('../options/options.html'));
|
||
|
}
|
||
|
});
|