Skip to content

Commit

Permalink
Fixed the option parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sojaner committed Oct 26, 2022
1 parent fffbb31 commit 883a0a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrap5-tags",
"type": "module",
"version": "2022.1.0",
"version": "2022.1.1",
"description": "Replace select[multiple] with nices badges for Bootstrap 5",
"main": "tags",
"types": "tags.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Tags {
this.debounceTime = opts.debounceTime ? parseInt(opts.debounceTime) : 300;
this.baseClass = opts.baseClass || "";
this.placeholder = opts.placeholder || this._getPlaceholder();
this.hidePlaceholder = opts.hidePlaceholder || true;
this.hidePlaceholder = typeof(opts.hidePlaceholder) === "boolean" ? opts.hidePlaceholder : true;
// private vars
this._keyboardNavigation = false;
this._fireEvents = true;
Expand Down
Loading

0 comments on commit 883a0a8

Please sign in to comment.