vendor/assets/javascripts/sir-trevor.js in blacklight-spotlight-3.6.0.beta10 vs vendor/assets/javascripts/sir-trevor.js in blacklight-spotlight-4.0.0
- old
+ new
@@ -5645,10 +5645,10 @@
if (input.getAttribute('type') === 'number') {
data[name] = parseInt(input.value);
} else if (input.getAttribute('type') === 'checkbox') {
var value = "";
- if (input.getAttribute('data-toggle')) {
+ if (input.getAttribute('data-toggle') || input.getAttribute('data-bs-toggle')) {
value = "off";
if (input.checked === true) {
value = "on";
}
\ No newline at end of file