Привет. Есть такая функция:
setTransactionTableResizeHandler: function () {
var $table = $('.mn_orderTransactionTable .mn_table'),
$bodyCells = $table.find('tbody tr:first').children(),
colWidth;
// Adjust the width of thead cells when window resizes
$(window).resize(function() {
// Get the tbody columns width array
colWidth = $
bodyCells.map(function() {
return $(this).width() - .1;
}).get();
// Set the width of thead columns
$table.find('thead tr').children().each(function(i, v) {
$(v).width(colWidth[i]);
});
}).resize();
}, В консоле выдает: Uncaught RangeError: Maximum call stack size exceeded при ресайзе. В чем может быть проблема? Где то затаилась рекурсия?