Skip to content

Commit

Permalink
Fix tgt ref in settings popup
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvana-tikku committed Aug 20, 2017
1 parent 9ac3976 commit 2075c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function updateConfig(prop){
}
let val = tgt.getAttribute('data-enabled') === 'true' ? true : false;
data['bittrex-enhanced-'+prop] = !val;
evt.target.setAttribute('data-enabled', !val);
tgt.setAttribute('data-enabled', String(!val));
chrome.storage.sync.set(data);
};
}
Expand Down

0 comments on commit 2075c76

Please sign in to comment.