mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Fixed variable declaration order in tabstrip.js (necessary due to changed jquery.livequery behaviour
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100848 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a61f4ed475
commit
b33c37c745
8
thirdparty/tabstrip/tabstrip.js
vendored
8
thirdparty/tabstrip/tabstrip.js
vendored
@ -1,13 +1,13 @@
|
||||
var _CUR_TABS = [];
|
||||
var _TABS_ON_PAGE = [];
|
||||
var _TAB_DIVS_ON_PAGE = [];
|
||||
|
||||
// jQuery loader
|
||||
jQuery('ul.tabstrip').livequery(function() {
|
||||
initTabstrip(this);
|
||||
if(window.ontabschanged) window.ontabschanged();
|
||||
});
|
||||
|
||||
var _CUR_TABS = [];
|
||||
var _TABS_ON_PAGE = [];
|
||||
var _TAB_DIVS_ON_PAGE = [];
|
||||
|
||||
function initTabstrip(tabstrip, namedAnchors) {
|
||||
|
||||
var i, anchor, container, anchorName, li;
|
||||
|
Loading…
Reference in New Issue
Block a user