1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-14 10:36:19 +02:00

add changelog

This commit is contained in:
Kushagra Gour
2017-03-12 02:16:40 +05:30
parent f1a9d678cb
commit 5d6a701eb6
3 changed files with 20 additions and 4 deletions

View File

@ -1203,7 +1203,7 @@ onboardDontShowInTabOptionBtn, TextareaAutoComplete, savedItemCountEl */
var settingName = e.target.dataset.setting;
var obj = {};
var el = e.target;
utils.log(e, settingName, (el.type === 'checkbox') ? el.checked : el.value);
utils.log(settingName, (el.type === 'checkbox') ? el.checked : el.value);
prefs[settingName] = el.type === 'checkbox' ? el.checked : el.value;
obj[settingName] = prefs[settingName];
chrome.storage.sync.set(obj, function() {