Skip to content

Commit

Permalink
fix(core): correctly store class names
Browse files Browse the repository at this point in the history
Fixes #4247
  • Loading branch information
nolimits4web committed Feb 17, 2021
1 parent a7770b6 commit 02265ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/core/classes/addClasses.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function addClasses() {
{ 'ios': device.ios },
{ 'css-mode': params.cssMode },
], params.containerModifierClass);

$el.addClass([...classNames, ...suffixes].join(' '));
classNames.push(...suffixes);
$el.addClass([...classNames].join(' '));
swiper.emitContainerClasses();
}

0 comments on commit 02265ec

Please sign in to comment.