|
|
@ -27,8 +27,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
d.getElementById('option-upgrade-message').setAttribute('checked', 'checked');
|
|
|
|
d.getElementById('option-upgrade-message').setAttribute('checked', 'checked');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ( parseInt(options.opts.changeIcon) ) {
|
|
|
|
if ( parseInt(options.opts.dynamicIcon) ) {
|
|
|
|
d.getElementById('option-change-icon').setAttribute('checked', 'checked');
|
|
|
|
d.getElementById('option-dynamic-icon').setAttribute('checked', 'checked');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ( parseInt(options.opts.tracking) ) {
|
|
|
|
if ( parseInt(options.opts.tracking) ) {
|
|
|
@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
var option;
|
|
|
|
var option;
|
|
|
|
|
|
|
|
|
|
|
|
options.opts.upgradeMessage = d.getElementById('option-upgrade-message').checked ? 1 : 0;
|
|
|
|
options.opts.upgradeMessage = d.getElementById('option-upgrade-message').checked ? 1 : 0;
|
|
|
|
options.opts.changeIcon = d.getElementById('option-change-icon' ).checked ? 1 : 0;
|
|
|
|
options.opts.dynamicIcon = d.getElementById('option-dynamic-icon' ).checked ? 1 : 0;
|
|
|
|
options.opts.tracking = d.getElementById('option-tracking' ).checked ? 1 : 0;
|
|
|
|
options.opts.tracking = d.getElementById('option-tracking' ).checked ? 1 : 0;
|
|
|
|
|
|
|
|
|
|
|
|
for ( option in options.opts ) {
|
|
|
|
for ( option in options.opts ) {
|
|
|
|