1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

this fixes #280 (bad cut-n-paste)

This commit is contained in:
gorhill 2015-06-02 09:50:26 -04:00
parent 228104a2b0
commit 25070003bb

View File

@ -186,10 +186,10 @@ var onUserSettingsReceived = function(details) {
changeUserSettings('colorBlindFriendly', this.checked);
});
uDom('#prefetching-disabled')
.prop('checked', details.prefetchingDisabled === true)
uDom('#advanced-user-enabled')
.prop('checked', details.advancedUserEnabled === true)
.on('change', function(){
changeUserSettings('prefetchingDisabled', this.checked);
changeUserSettings('advancedUserEnabled', this.checked);
});
uDom('#prefetching-disabled')