fixes checkboxes for both settingsv1 and settingsv2

This commit is contained in:
psychobunny
2015-07-10 14:07:57 -04:00
parent f56c2ea88a
commit 541fd474b3
2 changed files with 6 additions and 1 deletions

View File

@@ -189,6 +189,12 @@
$(this).siblings('[class*=fa-]').toggleClass('fa-toggle-off', !checked)
.toggleClass('fa-toggle-on', checked);
});
$.propHooks.checked = {
set: function(elem, value, name) {
$(elem).trigger("change");
}
};
}
}());