refactoring

This commit is contained in:
2020-01-10 12:07:21 +08:00
parent 51da68fee5
commit 26c6c1159e
15 changed files with 175 additions and 207 deletions

View File

@ -1,14 +1,14 @@
$().ready(
() => {
$("#link-extension-detail").on('click', () => {
window.onload = function () {
document.querySelector('#link-extension-detail')
.addEventListener('click', () => {
chrome.tabs.create({
'url': `chrome://extensions/?id=${chrome.runtime.id}`
});
})
$("#link-document").on('click', () => {
document.querySelector('#link-document')
.addEventListener('click', () => {
chrome.tabs.create({
'url': `https://git.jebbs.co/jebbs/data-extracter-extesion`
});
})
}
);
}