var $this = this;
this.enabled = true;
this.instance = this.createInstance();
+ if (this.instance === null) {
+ return;
+ }
if (this.instance.handleClicks !== true) {
$(document).on(this.fluidbook.input.clickEvent, '[data-cart-delete]', function () {
if (this.fluidbook.settings.cartLinkAppearance === 'overlay') {
$('a[data-cart-ref]').each(function () {
var size = 2;
- var c=[];
+ var c = [];
if ($(this).outerWidth() < 200) {
size = Math.min(size, 0);
c.push('small-w');
c.push('medium-h');
}
- if($(this).outerHeight() < 300){
+ if ($(this).outerHeight() < 300) {
c.push('condensed-h');
}