From d2af4a6b693f599e1cbc46aecbbea428de226755 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 18 Mar 2014 18:06:00 -0400 Subject: [PATCH] user images wont be responsive in widgets --- public/src/ajaxify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index c90461dcb1..6bfbb8e707 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -144,7 +144,7 @@ var ajaxify = {}; } tpl_url.pop(); } - + if (!tpl_url.length) { 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(); }); }