mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Tabs: Removed deprecated deselctable option (use collapsible instead).
Fixes #4031 - Tabs: Remove deselectable option
This commit is contained in:
parent
bddf0fdb77
commit
73191c2bea
6
ui/jquery.ui.tabs.js
vendored
6
ui/jquery.ui.tabs.js
vendored
@ -17,9 +17,6 @@ var tabId = 0;
|
||||
$.widget("ui.tabs", {
|
||||
|
||||
_init: function() {
|
||||
if (this.options.deselectable !== undefined) {
|
||||
this.options.collapsible = this.options.deselectable;
|
||||
}
|
||||
this._tabify(true);
|
||||
},
|
||||
|
||||
@ -32,9 +29,6 @@ $.widget("ui.tabs", {
|
||||
}
|
||||
else {
|
||||
this.options[key] = value;
|
||||
if (key == 'deselectable') {
|
||||
this.options.collapsible = value;
|
||||
}
|
||||
this._tabify();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user