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:
parent
1444168030
commit
5ba6c73d18
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user