diff options
Diffstat (limited to 'js/dist/collapse.js')
-rw-r--r-- | js/dist/collapse.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/js/dist/collapse.js b/js/dist/collapse.js index 84eac1ad62..085a3085cf 100644 --- a/js/dist/collapse.js +++ b/js/dist/collapse.js @@ -63,13 +63,6 @@ } /** - * -------------------------------------------------------------------------- - * Bootstrap (v4.1.3): collapse.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - - /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ @@ -124,7 +117,7 @@ this._isTransitioning = false; this._element = element; this._config = this._getConfig(config); - this._triggerArray = $.makeArray(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]"))); + this._triggerArray = [].slice.call(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]"))); var toggleList = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE)); for (var i = 0, len = toggleList.length; i < len; i++) { |