diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-24 10:57:01 -0400 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-24 17:44:06 -0400 |
commit | fd952c5a7956ac583a44475f481bdec9efa7857b (patch) | |
tree | ce5d6d682ba60289036b6713312484f9d9f5a65d /ui/jquery.ui.accordion.js | |
parent | 09eed560f87a122258818292ba3743f9382753c3 (diff) | |
download | jquery-ui-fd952c5a7956ac583a44475f481bdec9efa7857b.tar.gz jquery-ui-fd952c5a7956ac583a44475f481bdec9efa7857b.zip |
Accordion: Removed deprecated icon option. Fixes #6835 - Accordion: Remove icons.headerSelected.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r-- | ui/jquery.ui.accordion.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index f9cf733d5..76076131d 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -544,23 +544,6 @@ $.widget( "ui.accordion", { // DEPRECATED if ( $.uiBackCompat !== false ) { - // icon options - (function( $, prototype ) { - $.extend( prototype.options.icons, { - activeHeader: null, // remove default so we fall back to old values - headerSelected: "ui-icon-triangle-1-s" - }); - - var _createIcons = prototype._createIcons; - prototype._createIcons = function() { - if ( this.options.icons ) { - this.options.icons.activeHeader = this.options.icons.activeHeader || - this.options.icons.headerSelected; - } - _createIcons.call( this ); - }; - }( jQuery, jQuery.ui.accordion.prototype ) ); - // expanded active option, activate method (function( $, prototype ) { prototype.activate = prototype._activate; |