mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
this fixes #49
This commit is contained in:
parent
1444168030
commit
5ba6c73d18
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue