Permalink
Browse files

jQuery 1.6 support.

  • Loading branch information...
scottgonzalez committed Jul 29, 2011
1 parent 4b17402 commit b796cc57bd1eb0557849ece88c5794b70656f5cd
@@ -18,7 +18,7 @@
$(function() {
function log( message ) {
$( "<div/>" ).text( message ).prependTo( "#log" );
- $( "#log" ).attr( "scrollTop", 0 );
+ $( "#log" ).scrollTop( 0 );
}
$( "#city" ).autocomplete({
@@ -17,7 +17,7 @@
$(function() {
function log( message ) {
$( "<div/>" ).text( message ).prependTo( "#log" );
- $( "#log" ).attr( "scrollTop", 0 );
+ $( "#log" ).scrollTop( 0 );
}
$( "#birds" ).autocomplete({
@@ -17,7 +17,7 @@
$(function() {
function log( message ) {
$( "<div/>" ).text( message ).prependTo( "#log" );
- $( "#log" ).attr( "scrollTop", 0 );
+ $( "#log" ).scrollTop( 0 );
}
$.ajax({
Oops, something went wrong.

0 comments on commit b796cc5

Please sign in to comment.