diff --git a/tabs/configuration.js b/tabs/configuration.js index 8eb3a531..49321447 100644 --- a/tabs/configuration.js +++ b/tabs/configuration.js @@ -90,14 +90,41 @@ TABS.configuration.initialize = function (callback, scrollPosition) { for (var i = 0; i < features.length; i++) { var row_e; - if (features[i].mode == 'group') { - row_e = $('' + features[i].description + ''); + if (features[i].mode === 'group') { + row_e = $('' + + features[i].description + + ''); radioGroups.push(features[i].group); } else { - row_e = $('' + features[i].description + ''); - var feature_e = row_e.find('input.feature'); - feature_e.data('bit', features[i].bit); + var feature_e = row_e.find('input.feature'); + row_e = $('' + + features[i].description + + ''); + feature_e.prop('checked', bit_check(BF_CONFIG.features, features[i].bit)); + feature_e.data('bit', features[i].bit); } features_e.each(function () {