We can't specify a height for an element that might grow or shrink

This commit is contained in:
Rouslan Placella 2011-11-14 20:39:54 +00:00
parent f607d8a93c
commit 0ac1b5f7c2

View File

@ -3079,7 +3079,7 @@ function PMA_init_slider()
}
$this.addClass('slider_init_done');
var $wrapper = $('<div>', {'class': 'slide-wrapper'}).css('height', $this.outerHeight(true));
var $wrapper = $('<div>', {'class': 'slide-wrapper'});
$wrapper.toggle($this.is(':visible'));
$('<a>', {href: '#'+this.id})
.text(this.title)