소스 검색

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

Mr.doob 8 년 전
부모
커밋
f8c7f708c0
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      docs/index.html
  2. 1 1
      examples/index.html

+ 2 - 2
docs/index.html

@@ -215,7 +215,7 @@
 				<span></span>
 				<span></span>
 			</a>
 			</a>
 			<div class="filterBlock" >
 			<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>
 				<a href="#" id="clearFilterButton" >x</a>
 			</div>
 			</div>
 			<div id="content"></div>
 			<div id="content"></div>
@@ -229,7 +229,7 @@
 				var p = window.location.search.indexOf( '?q=' );
 				var p = window.location.search.indexOf( '?q=' );
 				if( p !== -1 ) {
 				if( p !== -1 ) {
 					return window.location.search.substr( 3 );
 					return window.location.search.substr( 3 );
-				} 
+				}
 				return ''
 				return ''
 			}
 			}
 
 

+ 1 - 1
examples/index.html

@@ -232,7 +232,7 @@
 				<span></span>
 				<span></span>
 			</a>
 			</a>
 			<div class="filterBlock" >
 			<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>
 				<a href="#" id="clearFilterButton" >x</a>
 			</div>
 			</div>
 			<div id="content"></div>
 			<div id="content"></div>