From d38156b71d9d4d1c1c2b067bb8e18932ff6d2265 Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Fri, 11 Mar 2011 22:27:39 +0100 Subject: [PATCH] fix -/- switching in slider effect --- js/functions.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/functions.js b/js/functions.js index 72abde46f..8abdc5113 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2131,15 +2131,16 @@ function PMA_init_slider() { $('.pma_auto_slider').each(function(idx, e) { if ($(e).hasClass('slider_init_done')) return; $(e).addClass('slider_init_done'); - $('') + $('') .insertBefore(e); PMA_set_status_label(e.id); $('' + e.title + '') .insertBefore(e) .click(function() { - $('#' + e.id).toggle('clip'); - PMA_set_status_label(e.id); + $('#' + e.id).toggle('clip', function() { + PMA_set_status_label(e.id); + }); return false; }); });