mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 03:35:16 -05:00
No ticket: fix code style inconsistencies. Closes gh-1361
This commit is contained in:
@@ -158,7 +158,7 @@ jQuery.fn.extend({
|
||||
});
|
||||
|
||||
// Create scrollLeft and scrollTop methods
|
||||
jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) {
|
||||
jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) {
|
||||
var top = "pageYOffset" === prop;
|
||||
|
||||
jQuery.fn[ method ] = function( val ) {
|
||||
|
||||
Reference in New Issue
Block a user