Skip to content

Commit 21d3529

Browse files
authored
size() method has been removed in jQuery 3.0, updated to use .length property
https://api.jquery.com/size/
1 parent 7c6634b commit 21d3529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scrollable/scrollable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
},
8282

8383
getSize: function() {
84-
return self.getItems().size();
84+
return self.getItems().length;
8585
},
8686

8787
getNaviButtons: function() {

0 commit comments

Comments
 (0)