From 0ac1b5f7c2fbc007abed7ecc015f42e42d2dbc78 Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Mon, 14 Nov 2011 20:39:54 +0000 Subject: [PATCH] We can't specify a height for an element that might grow or shrink --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index 4377a1dcda..d96f15ed5b 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3079,7 +3079,7 @@ function PMA_init_slider() } $this.addClass('slider_init_done'); - var $wrapper = $('
', {'class': 'slide-wrapper'}).css('height', $this.outerHeight(true)); + var $wrapper = $('
', {'class': 'slide-wrapper'}); $wrapper.toggle($this.is(':visible')); $('', {href: '#'+this.id}) .text(this.title)