Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyPChristian committed Jul 3, 2024
1 parent b74c733 commit e0354e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "editorjs-laravel-picker",
"version": "0.1.0",
"version": "0.1.1",
"keywords": [
"tool",
"picker",
Expand Down
6 changes: 3 additions & 3 deletions src/controlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ export default class ControlPanel {
oninput: () => this.searchInputHandler()
});

searchInput.dataset.placeholder = 'Search for an item...';
searchInput.dataset.placeholder = 'Search...';

wrapper.appendChild(searchInput);
wrapper.appendChild(itemGallery);

this.nodes.searchInput = searchInput;
this.nodes.itemGallery = itemGallery;
this.nodes.itemGallery.innerHTML = searchInput.dataset.placeholder;
// this.nodes.itemGallery.innerHTML = searchInput.dataset.placeholder;

return wrapper;
}
Expand Down Expand Up @@ -139,7 +139,7 @@ export default class ControlPanel {
});
} else {
const noResults = make('div', this.cssClasses.noResults, {
innerHTML: 'No items found',
innerHTML: 'No results',
});
this.nodes.itemGallery.appendChild(noResults);
this.nodes.apiPanel.classList.remove(this.cssClasses.scroll);
Expand Down
2 changes: 1 addition & 1 deletion src/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@ export default class Ui {
selectItem(data) {
this.onAddItemData(data);
this.showLoader();
// this.buildItemDetails(data);
this.buildItemDetails(data);
}
}

0 comments on commit e0354e2

Please sign in to comment.