Procházet zdrojové kódy

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

Mr.doob před 4 roky
rodič
revize
b83ab7d43b
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  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' );
 
-			}
+				updateFilter();
 
-			updateFilter();
+			}
 
 		}
 

+ 2 - 2
examples/index.html

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