Skip to content

Commit

Permalink
Fixed issue with adding multiple classes 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
actuallyakash committed Jun 14, 2021
1 parent aef3345 commit c2004de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacers/spacers.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function spacers( options ) {

// Addding custom-defined classes
if ( options.spacerClass ) {
spacer.classList.add( options.spacerClass );
spacer.classList.add( ...options.spacerClass.split(' ') );
}

// Adding default spacing
Expand Down

0 comments on commit c2004de

Please sign in to comment.