diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-12-12 19:25:34 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-12-12 19:25:34 +0000 |
commit | 3244cbff8e06ddcc966cf00a0ec8403f69526abd (patch) | |
tree | 38b8ce313d667d369f17d9afa23d0c201ac6765c /ui/ui.accordion.js | |
parent | 28c5c53a09d1218e3688aaedc9665ea5ad772cc2 (diff) | |
download | jquery-ui-3244cbff8e06ddcc966cf00a0ec8403f69526abd.tar.gz jquery-ui-3244cbff8e06ddcc966cf00a0ec8403f69526abd.zip |
Accordion: #3646 - fixed icons
Diffstat (limited to 'ui/ui.accordion.js')
-rw-r--r-- | ui/ui.accordion.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 10cbcb5b9..0a134161f 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -39,8 +39,8 @@ $.widget("ui.accordion", { var active = options.active = findActive(headers, options.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top"); active.parent().addClass("selected"); - $("<span/>").addClass("ui-icon ui-icon-circle-plus").prependTo(headers); - active.find(".ui-icon").toggleClass("ui-icon-circle-plus").toggleClass("ui-icon-circle-minus"); + $("<span/>").addClass("ui-icon ui-icon-triangle-1-e").prependTo(headers); + active.find(".ui-icon").toggleClass("ui-icon-triangle-1-e").toggleClass("ui-icon-triangle-1-s"); // IE7-/Win - Extra vertical space in Lists fixed if ($.browser.msie) { @@ -297,11 +297,11 @@ function clickHandler(event) { // switch classes options.active.parent().toggleClass(options.selectedClass); options.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all") - .find(".ui-icon").removeClass("ui-icon-circle-minus").addClass("ui-icon-circle-plus"); + .find(".ui-icon").removeClass("ui-icon-triangle-1-s").addClass("ui-icon-triangle-1-e"); if ( !clickedActive ) { clicked.parent().addClass(options.selectedClass); clicked.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top") - .find(".ui-icon").removeClass("ui-icon-circle-plus").addClass("ui-icon-circle-minus"); + .find(".ui-icon").removeClass("ui-icon-triangle-1-e").addClass("ui-icon-triangle-1-s"); } // find elements to show and hide |