• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
I am a noob at JS :V
Line 86: Line 86:  
                 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 || typeof(property_states) !== "Array" || 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) {
Anonymous user

Navigation menu