Skip to content

Commit

Permalink
Update splittype.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 authored Oct 19, 2020
1 parent 1fdde33 commit 5774681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splittype.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@
this.chars = [];

// cache vertical scroll position before splitting
var scrollPos = [ window.pageXoffset, window.pageYoffset ];
var scrollPos = [ window.pageXOffset, window.pageYOffset ];

// If new options were passed into the split() method, update settings for the instance.
if ( newOptions !== undefined ) {
Expand Down Expand Up @@ -720,4 +720,4 @@
}
return SplitType;
})( window, document )
} )
} )

0 comments on commit 5774681

Please sign in to comment.