aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/icons.html
diff options
context:
space:
mode:
authorMaggie Costello Wachs <fg.maggie@gmail.com>2008-12-10 16:13:25 +0000
committerMaggie Costello Wachs <fg.maggie@gmail.com>2008-12-10 16:13:25 +0000
commit644698dea0cb6b8f1dbd8e49ae6de2cf7bd2ea28 (patch)
tree8823477401e2e1a9ff291bc10c7888022294fd1b /tests/static/icons.html
parente528e28cbe85ec59352fb5653ec97557d425219e (diff)
downloadjquery-ui-644698dea0cb6b8f1dbd8e49ae6de2cf7bd2ea28.tar.gz
jquery-ui-644698dea0cb6b8f1dbd8e49ae6de2cf7bd2ea28.zip
reinstated toggle link to show/hide class names
Diffstat (limited to 'tests/static/icons.html')
-rw-r--r--tests/static/icons.html9
1 files 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(' <a href="#">Toggle text</a>').find('a').click(function(){ $('.icon-collection li span.text').toggle(); });
-
+ $('.icons').append(' <a href="#">Toggle text</a>').find('a').click(function(){ $('.icon-collection li span.text').toggle(); }).trigger('click');
$.preloadCssImages();
});
</script>
</head>
<body>
+<p class="icons"></p>
+
+<ul class="ui-widget icon-collection">
-<ul class="ui-widget icon-collection"><li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-n"><span class="ui-icon ui-icon-carat-1-n"></span><span class="text">.ui-icon-carat-1-n</span></li>
+<li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-n"><span class="ui-icon ui-icon-carat-1-n"></span><span class="text">.ui-icon-carat-1-n</span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-ne"><span class="ui-icon ui-icon-carat-1-ne"></span><span class="text">.ui-icon-carat-1-ne</span></li>
<li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-e"><span class="ui-icon ui-icon-carat-1-e"></span><span class="text">.ui-icon-carat-1-e</span></li>