forked from 0x2620/oxjs
Ox.getPositionById() -> Ox.getIndexById()
This commit is contained in:
parent
4ca01b2bfa
commit
8097cc7812
19 changed files with 23 additions and 30 deletions
|
|
@ -56,7 +56,7 @@ Ox.TabPanel = function(options, self) {
|
|||
}
|
||||
|
||||
that.select = function(id) {
|
||||
if (Ox.getPositionById(self.options.tabs, id) > -1) {
|
||||
if (Ox.getIndexById(self.options.tabs, id) > -1) {
|
||||
self.$tabs.select(id);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue