Skip to content

Commit

Permalink
fix: options link open
Browse files Browse the repository at this point in the history
  • Loading branch information
iamogbz committed Feb 25, 2019
1 parent 910ec19 commit c834df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const openLink = () => {
function openLink() {
chrome.tabs.update({
url: this.attributes.href.value,
});
};
}

document.addEventListener("DOMContentLoaded", () => {
document.getElementById("change-btn").addEventListener("click", openLink);
Expand Down

0 comments on commit c834df7

Please sign in to comment.