From 644698dea0cb6b8f1dbd8e49ae6de2cf7bd2ea28 Mon Sep 17 00:00:00 2001 From: Maggie Costello Wachs Date: Wed, 10 Dec 2008 16:13:25 +0000 Subject: [PATCH] reinstated toggle link to show/hide class names --- tests/static/icons.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/static/icons.html b/tests/static/icons.html index 1ecd7999e..81d98eb08 100644 --- a/tests/static/icons.html +++ b/tests/static/icons.html @@ -26,17 +26,18 @@ function(){ $(this).removeClass('ui-state-hover'); } ); $('.ui-state-default').click(function(){ $(this).toggleClass('ui-state-active'); }); - - $('.icons').append(' Toggle text').find('a').click(function(){ $('.icon-collection li span.text').toggle(); }); - + $('.icons').append(' Toggle text').find('a').click(function(){ $('.icon-collection li span.text').toggle(); }).trigger('click'); $.preloadCssImages(); }); +

+ +