The branch, master has been updated via d38156b71d9d4d1c1c2b067bb8e18932ff6d2265 (commit) from f64f1d3ef0fe99a0155bc5db539cf61de8b3ee3b (commit)
- Log ----------------------------------------------------------------- commit d38156b71d9d4d1c1c2b067bb8e18932ff6d2265 Author: Piotr Przybylski piotrprz@gmail.com Date: Fri Mar 11 22:27:39 2011 +0100
fix -/- switching in slider effect
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/js/functions.js b/js/functions.js index 72abde4..8abdc51 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'); - $('<span id="anchor_status_' + e.id + '"><span>') + $('<span id="anchor_status_' + e.id + '"></span>') .insertBefore(e); PMA_set_status_label(e.id);
$('<a href="#' + e.id + '" id="anchor_' + e.id + '">' + e.title + '</a>') .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; }); });
hooks/post-receive