Skip to content

Commit

Permalink
fix options binding
Browse files Browse the repository at this point in the history
  • Loading branch information
bijij committed Feb 17, 2018
1 parent aebc360 commit 9cb7d98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions css/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ body {
color: #212121;
font-family: Roboto, Arial, sans-serif;
font-size: 16px;
font-weight: 500;

padding: 16px;
background-color: #fafafa;
Expand Down Expand Up @@ -78,7 +77,7 @@ button {
padding: 8px 16px;
outline: none;
border: none;
margin: 16px auto 0 auto;
margin: 24px auto 0 auto;
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
}

Expand Down
2 changes: 1 addition & 1 deletion js/localise.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ function localiseHtmlPage() {
}
}

localiseHtmlPage();
localiseHtmlPage();
2 changes: 1 addition & 1 deletion js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const load = function () {
return new Promise(function (resolve) {
chrome.storage.sync.get('options', function (storage) {
// Get and save options
options = storage.options || defaultOptions;
options = storage.options || Object.assign({}, defaultOptions);

// Show and resolve
show(options);
Expand Down

0 comments on commit 9cb7d98

Please sign in to comment.