Skip to content

Commit

Permalink
Add a check to prevent empty strings beeing passed to our class searc…
Browse files Browse the repository at this point in the history
…h string.
  • Loading branch information
Thomas Erbe committed Jul 27, 2018
1 parent 27e7661 commit e1f01cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ const Bulma = {
var classes = [];

for(var key in this.plugins) {
if(!this.plugins[key].getRootClass()) {
continue;
}

classes.push('.' + this.plugins[key].getRootClass());
}

Expand Down

0 comments on commit e1f01cc

Please # to comment.