mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
FAQ link added
This commit is contained in:
@ -93,6 +93,7 @@ options._renderOptionsPanel = function () {
|
||||
document.getElementById('link-welcome-page').addEventListener('click', options._onClickWelcomePage);
|
||||
document.getElementById('link-changelog').addEventListener('click', options._onClickChangelog);
|
||||
document.getElementById('link-donate').addEventListener('click', options._onClickDonate);
|
||||
document.getElementById('link-faq').addEventListener('click', options._onClickFaq);
|
||||
};
|
||||
|
||||
options._renderBlockMissingNotice = function () {
|
||||
@ -349,6 +350,13 @@ options._onClickChangelog = function() {
|
||||
});
|
||||
};
|
||||
|
||||
options._onClickFaq = function() {
|
||||
chrome.tabs.create({
|
||||
'url': chrome.extension.getURL('pages/help/help.html'),
|
||||
'active': true
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Updates the domain lists if the options page has no focus.
|
||||
* document.hasFocus() prevents problems with keyboard input.
|
||||
|
Reference in New Issue
Block a user