File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ var IASHistoryExtension = function (options) {
92
92
93
93
// if the don't have a first element, the DOM might not have been loaded,
94
94
// or the selector is invalid
95
- if ( 0 === $firstElement . size ( ) ) {
95
+ if ( 0 === $firstElement . length ) {
96
96
return - 1 ;
97
97
}
98
98
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ var IASSpinnerExtension = function(options) {
53
53
this . getSpinner = function ( ) {
54
54
var $spinner = jQuery ( '#ias_spinner_' + this . uid ) ;
55
55
56
- if ( $spinner . size ( ) > 0 ) {
56
+ if ( $spinner . length > 0 ) {
57
57
return $spinner ;
58
58
}
59
59
@@ -66,7 +66,7 @@ var IASSpinnerExtension = function(options) {
66
66
this . hasSpinner = function ( ) {
67
67
var $spinner = jQuery ( '#ias_spinner_' + this . uid ) ;
68
68
69
- return ( $spinner . size ( ) > 0 ) ;
69
+ return ( $spinner . length > 0 ) ;
70
70
} ;
71
71
72
72
/**
Original file line number Diff line number Diff line change 118
118
119
119
// if the don't have a last element, the DOM might not have been loaded,
120
120
// or the selector is invalid
121
- if ( 0 === $lastElement . size ( ) ) {
121
+ if ( 0 === $lastElement . length ) {
122
122
return UNDETERMINED_SCROLLOFFSET ;
123
123
}
124
124
You can’t perform that action at this time.
0 commit comments