commit for survey questions

This commit is contained in:
harrybomrah authored and saurabhbhatia committed 2013-09-17 15:34:23 +08:00
1 parent e45b7e09a0
commit e4a16eab3a
6 files changed
+458 -137

No files matched your search

@@ -1,4 +1,4 @@
$(function() {
function textareaResizable() {
var $btnW = null,
$textareaLangBtnGroup = $('.textarea-lang > .btn-group'),
$textareaLang = $('.textarea-lang'),
@@ -8,12 +8,12 @@ $(function() {
$btnW = 4
$(this).find('.btn').each(function() {
$btnW += $(this).outerWidth(true);
$(this).on('click', function() {
$(this).on(clickEvent, function() {
var $id = $($(this).attr('href'));
if($id.find('.ui-wrapper').height() < 96) {
$id.find('.ui-wrapper').height(96)
}
})
};
});
});
});
$textarea.each(function() {
@@ -26,4 +26,7 @@ $(function() {
minWidth: $btnW+114,
handles: "se",
});
};
$(function() {
textareaResizable();
});