1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-26 12:22:50 +01:00

this fixes #49

This commit is contained in:
gorhill 2014-07-08 09:22:18 -04:00
parent 1444168030
commit 5ba6c73d18

View File

@ -45,13 +45,13 @@ var changeUserSettings = function(name, value) {
var onUserSettingsReceived = function(details) {
uDom('#collapse-blocked')
.attr('checked', details.collapseBlocked === true)
.prop('checked', details.collapseBlocked === true)
.on('change', function(){
changeUserSettings('collapseBlocked', this.checked);
});
uDom('#icon-badge')
.attr('checked', details.showIconBadge === true)
.prop('checked', details.showIconBadge === true)
.on('change', function(){
changeUserSettings('showIconBadge', this.checked);
});