Skip to content

Commit

Permalink
trim spaces out of colors string possibly fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
okcoker committed Jun 9, 2013
1 parent 2411736 commit 4d6df05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jquery.airport.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}

if (opts.colors) {
colors = opts.colors.split(',');
colors = opts.colors.replace(/\s+/g, '').split(',');
}
//a - number of the span element
//b - for checking char[b] against each letter in array[xx]
Expand Down
4 changes: 1 addition & 3 deletions jquery.airport.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d6df05

Please sign in to comment.