Skip to content

Commit

Permalink
add in prevent default (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay authored and wbamberg committed Jan 3, 2017
1 parent 49dda7e commit ed31c81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions favourite-colour/options.js
Expand Up @@ -2,6 +2,7 @@ function saveOptions(e) {
browser.storage.local.set({
colour: document.querySelector("#colour").value
});
e.preventDefault();
}

function restoreOptions() {
Expand Down

0 comments on commit ed31c81

Please sign in to comment.