user images wont be responsive in widgets

v1.18.x
barisusakli 11 years ago
parent 0f66e80a5a
commit d2af4a6b69

@ -144,7 +144,7 @@ var ajaxify = {};
} }
tpl_url.pop(); tpl_url.pop();
} }
if (!tpl_url.length) { if (!tpl_url.length) {
tpl_url = url.split('/')[0].split('?')[0]; tpl_url = url.split('/')[0].split('?')[0];
} }
@ -191,7 +191,7 @@ var ajaxify = {};
} }
} }
$('#content [widget-area] img').addClass('img-responsive') $('#content [widget-area] img:not(.user-img)').addClass('img-responsive');
checkCallback(); checkCallback();
}); });
} }

Loading…
Cancel
Save