wineater-bot 3.9.2 → 3.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/js/widget.js +1 -1
package/package.json
CHANGED
package/src/js/widget.js
CHANGED
|
@@ -134,7 +134,7 @@ export class WineWidget {
|
|
|
134
134
|
resultsContainer.insertAdjacentHTML('beforeend', wineHTML);
|
|
135
135
|
const currentCard = resultsContainer.children[index];
|
|
136
136
|
|
|
137
|
-
if (!url) {
|
|
137
|
+
if (!url && this.widgetType === 'bar') {
|
|
138
138
|
const buyBtn = currentCard.querySelector('[data-toggle-info]');
|
|
139
139
|
const popup = currentCard.querySelector('.card-popup');
|
|
140
140
|
const closeBtn = currentCard.querySelector('.card-popup-close');
|