Explorar el Código

Docs/Examples: Call updateFilter() only when ?q= is set (#21462)

Mr.doob hace 4 años
padre
commit
b83ab7d43b
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      docs/index.html
  2. 2 2
      examples/index.html

+ 2 - 2
docs/index.html

@@ -181,9 +181,9 @@
 
 
 				panel.classList.add( 'searchFocused' );
 				panel.classList.add( 'searchFocused' );
 
 
-			}
+				updateFilter();
 
 
-			updateFilter();
+			}
 
 
 		}
 		}
 
 

+ 2 - 2
examples/index.html

@@ -116,9 +116,9 @@
 
 
 				panel.classList.add( 'searchFocused' );
 				panel.classList.add( 'searchFocused' );
 
 
-			}
+				updateFilter( files, tags );
 
 
-			updateFilter( files, tags );
+			}
 
 
 			// Events
 			// Events