N°1964 - Fix missing parenthesis in previous commit

This commit is contained in:
Molkobain
2021-05-14 11:30:24 +02:00
parent f3b0f79a59
commit 644f0bc94c

View File

@@ -275,7 +275,7 @@ $(function()
_getTabIndexFromTabId(sId) {
const oTabElem = this.element.children(this.js_selectors.tabs_list).children(this.js_selectors.tab_header+'[data-tab-id="'+sId+'"]');
return oTabElem.length === 0 ? 0 : oTabElem.prevAll.length;
return oTabElem.length === 0 ? 0 : oTabElem.prevAll().length;
}
});
});