Merge pull request #232 from okriuchykhin/ok_SCI_590

Fixes different color of buttons in notifications settings [SCI-590]
This commit is contained in:
okriuchykhin 2016-10-20 15:09:35 +02:00 committed by GitHub
commit 2247dc2d3c

View file

@ -101,6 +101,7 @@
for (var i = 0; i < notification_settings.length; i++ ) {
var setting = $('[name="' + notification_settings[i] + '"]');
var dependant = $('[name="' + notification_settings[i] + '_email"]');
dependant.checkboxpicker({ onActiveCls: 'btn-primary' });
setting
.checkboxpicker({
onActiveCls: 'btn-primary'