Cleanup code style.
This commit is contained in:
parent
fb97d99bff
commit
18e7dd2173
|
@ -65,5 +65,3 @@ probePage.open( inputFile, function( status ) {
|
||||||
|
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -178,11 +178,11 @@ function Hilitor(id, tag)
|
||||||
dom.wrapper.appendChild( searchElement );
|
dom.wrapper.appendChild( searchElement );
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("searchbutton").addEventListener( 'click', function(event) {
|
document.getElementById( 'searchbutton' ).addEventListener( 'click', function(event) {
|
||||||
doSearch();
|
doSearch();
|
||||||
}, false );
|
}, false );
|
||||||
|
|
||||||
document.getElementById("searchinput").addEventListener( 'keyup', function( event ) {
|
document.getElementById( 'searchinput' ).addEventListener( 'keyup', function( event ) {
|
||||||
switch (event.keyCode) {
|
switch (event.keyCode) {
|
||||||
case 13:
|
case 13:
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user