Changes
Just in case.
//make sure the states are an array.
//make sure the states are an array.
if (!property_states || !Array.isArray(property_states) || property_states.length < 1) {
if (!property_states || !Array.isArray(property_states) || property_states.length < 1) {
multi_toggle_element.hide();
return;
return;
} else if (property_filter) {
} else if (property_filter) {