Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nolimits4web/swiper
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Mar 1, 2021
2 parents 9e50b35 + 0edc3c1 commit e67a336
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -492,7 +492,7 @@
- `touchEventsTarget` defaults back to `container`
- Added handling of `touchcancel` event #3219
- Fixed issue with wrong order calculation in `slidesPerColumnFill: 'row'` mode
- Fixed issue with slides missplacing when prepending slides in virutal mode
- Fixed issue with slides missplacing when prepending slides in virtual mode
- Fixed issue when zoomed image still swiped to another slide on mobiles

## [5.0.1](https://github.com/nolimits4web/swiper/compare/v5.0.0...v5.0.1) - Released on September 17th, 2019
Expand Down
2 changes: 1 addition & 1 deletion src/types/components/virtual.d.ts
Expand Up @@ -44,7 +44,7 @@ export interface VirtualMethods {
removeAllSlides(): void;

/**
* Update virutal slides state
* Update virtual slides state
*/
update(force: boolean): void;
}
Expand Down
4 changes: 3 additions & 1 deletion src/vue/get-params.js
Expand Up @@ -15,7 +15,9 @@ function getParams(obj = {}) {

const rest = {};
const allowedParams = paramsList.map((key) => key.replace(/_/, ''));
Object.keys(obj).forEach((key) => {
// Prevent empty Object.keys(obj) array on ios.
const plainObj = Object.assign({}, obj);
Object.keys(plainObj).forEach((key) => {
if (typeof obj[key] === 'undefined') return;
if (allowedParams.indexOf(key) >= 0) {
if (isObject(obj[key])) {
Expand Down

0 comments on commit e67a336

Please sign in to comment.