2
0
Эх сурвалжийг харах

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

Mr.doob 4 жил өмнө
parent
commit
b83ab7d43b

+ 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