Selaa lähdekoodia

Docs/Examples: Reverted autofocus (broke mobile ux).

Mr.doob 8 vuotta sitten
vanhempi
commit
f8c7f708c0
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 2 2
      docs/index.html
  2. 1 1
      examples/index.html

+ 2 - 2
docs/index.html

@@ -215,7 +215,7 @@
 				<span></span>
 			</a>
 			<div class="filterBlock" >
-				<input type="text" id="filterInput" placeholder="Type to filter" autofocus/>
+				<input type="text" id="filterInput" placeholder="Type to filter"/>
 				<a href="#" id="clearFilterButton" >x</a>
 			</div>
 			<div id="content"></div>
@@ -229,7 +229,7 @@
 				var p = window.location.search.indexOf( '?q=' );
 				if( p !== -1 ) {
 					return window.location.search.substr( 3 );
-				} 
+				}
 				return ''
 			}
 

+ 1 - 1
examples/index.html

@@ -232,7 +232,7 @@
 				<span></span>
 			</a>
 			<div class="filterBlock" >
-				<input type="text" id="filterInput" placeholder="Type to filter" autofocus/>
+				<input type="text" id="filterInput" placeholder="Type to filter"/>
 				<a href="#" id="clearFilterButton" >x</a>
 			</div>
 			<div id="content"></div>