Ox.SourceViewer: temporary workaround for cases where the source code doesn't fill the full height

This commit is contained in:
rolux 2012-06-23 12:49:18 +02:00
parent ec4c46cb6c
commit 03418d2952

View file

@ -77,6 +77,12 @@ Ox.SourceViewer = function(options, self) {
) )
.appendTo($section); .appendTo($section);
}); });
setTimeout(function() {
var height = that.height();
if (self.$table.height() < height) {
self.$table.css({height: height + 'px'});
}
}, 100);
}); });
function trim(str) { function trim(str) {