Skip to content

Commit c9b7388

Browse files
Closes tooltips on select for bundle item choices
1 parent 48fe811 commit c9b7388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Presentation/SmartStore.Web/Scripts/public.product.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@
7474
// Iterate all elems with [data-partial] attribute...
7575
var $el = $(el);
7676
var partial = $el.data('partial');
77-
77+
7878
if (partial && !(isTouchSpin && partial === 'OfferActions') && !(isDateTime && partial === 'Variants')) {
7979
// ...fetch the updated html from the corresponding AJAX result object's properties
8080
if (data.Partials && data.Partials.hasOwnProperty(partial)) {
81-
if (partial === 'Variants') {
81+
if (partial === 'Variants' || partial === 'BundleItemVariants') {
8282
$el.find('[data-toggle=tooltip], .tooltip-toggle').tooltip('hide');
8383
}
8484

0 commit comments

Comments
 (0)