app/assets/javascripts/tolk/layout.js in tolk-3.0.2 vs app/assets/javascripts/tolk/layout.js in tolk-3.1.0
- old
+ new
@@ -1,9 +1,9 @@
$(function () {
// Fit text area height
$('.translations textarea').each(function () {
- $(this).css({ height: $(this).parent('td').css('height')});
+ $(this).css({ height: $(this).parent('td').height()});
});
// Mark active textarea
$(".translations textarea").bind("focus", function () {
$(this).parents("tr").toggleClass('active');