diff options
Diffstat (limited to 'tests/static/icons.html')
-rw-r--r-- | tests/static/icons.html | 9 |
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> |