Changes
mLine 86:
Line 86:
− +
Which means I make silly mistakes :V
multiToggleStorage = MultiToggleStorage(target, property_default);
multiToggleStorage = MultiToggleStorage(target, property_default);
//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) {
return;
return;
} else if (property_filter) {
} else if (property_filter) {