';
$(".ui-tabs-content", $elm).eq($(this).index()).html(html);
}
});
});
if (found > -1){
window.loadbeeProductFoundCallback = function() {
console.log("found");
var h = $(".ui-tabs-header li").eq(found);
h.removeClass("empty-content");
if ($(".ui-tabs-header li").eq(0).hasClass("empty-content")) {
$("a", h).trigger("click");
}
}
}
}
if ($(".leanpay").length === 0) {
$(".lp-holder").hide();
}
$(".logic-product .ui-tabs-header .empty-content.selected").each(function() {
var $ul = $(this).closest("ul");
$("li", $ul).not(".empty-content").eq(0).find("a").trigger("click");
})
});