Menu icon Foundation
Accordion deep link smudge JS error

Hello.

 

I seem to be getting the following JS error when I attempt to use Accordion deep link smudge.

Uncaught TypeError: a.indexOf is not a function
    at r.fn.init.r.fn.load (app.jquery.js?t=1512366149742:4)
    at Accordion._checkDeepLink (app.jquery.js?t=1512366149742:2510)
    at Accordion._init (app.jquery.js?t=1512366149742:2527)
    at Accordion._setup (app.jquery.js?t=1512366149742:2448)
    at Accordion.Plugin (app.jquery.js?t=1512366149742:180)
    at new Accordion (app.jquery.js?t=1512366149742:2429)
    at app.jquery.js?t=1512366149742:15286
    at Object.disableClass (app.jquery.js?t=1512366149742:15325)
    at __webpack_require__ (app.jquery.js?t=1512366149742:25)
    at Object._typeof (app.jquery.js?t=1512366149742:15769)

 

I get the same error no matter whether I am modifying the global defaults for accordion:

 

let $accordion = $('.js-accordion');

  Foundation.Accordion.defaults.allowAllClosed = true;
  Foundation.Accordion.defaults.multiExpand = true;
  Foundation.Accordion.defaults.deepLink = true;
  Foundation.Accordion.defaults.deepLinkSmudge = true; @TODO: caused JS error

  $accordion.foundation();

 

Or whether I am creating a new instance of accordion and passing in the new options:

let $accordion = $('.js-accordion');

  let accordionOptions = {
    allowAllClosed: true,
    multiExpand: true,
    deepLink: true,
    deepLinkSmudge: true
  };

  let accordion = new Foundation.Accordion($accordion, accordionOptions); // eslint-disable-line no-unused-vars

accordiondeep link smudgejs errorUncaught TypeError: a.indexOf is not a function

Hello.

 

I seem to be getting the following JS error when I attempt to use Accordion deep link smudge.

Uncaught TypeError: a.indexOf is not a function
    at r.fn.init.r.fn.load (app.jquery.js?t=1512366149742:4)
    at Accordion._checkDeepLink (app.jquery.js?t=1512366149742:2510)
    at Accordion._init (app.jquery.js?t=1512366149742:2527)
    at Accordion._setup (app.jquery.js?t=1512366149742:2448)
    at Accordion.Plugin (app.jquery.js?t=1512366149742:180)
    at new Accordion (app.jquery.js?t=1512366149742:2429)
    at app.jquery.js?t=1512366149742:15286
    at Object.disableClass (app.jquery.js?t=1512366149742:15325)
    at __webpack_require__ (app.jquery.js?t=1512366149742:25)
    at Object._typeof (app.jquery.js?t=1512366149742:15769)

 

I get the same error no matter whether I am modifying the global defaults for accordion:

 

let $accordion = $('.js-accordion');

  Foundation.Accordion.defaults.allowAllClosed = true;
  Foundation.Accordion.defaults.multiExpand = true;
  Foundation.Accordion.defaults.deepLink = true;
  Foundation.Accordion.defaults.deepLinkSmudge = true; @TODO: caused JS error

  $accordion.foundation();

 

Or whether I am creating a new instance of accordion and passing in the new options:

let $accordion = $('.js-accordion');

  let accordionOptions = {
    allowAllClosed: true,
    multiExpand: true,
    deepLink: true,
    deepLinkSmudge: true
  };

  let accordion = new Foundation.Accordion($accordion, accordionOptions); // eslint-disable-line no-unused-vars
Ashwin almost 2 years ago

This is the platform where you guys need to play with your extra skills and win for the extra ordinary scores.Just follow this website link address  fireboy and watergirl games and start playing with Just a single click.Thank you for this kind of Place to play and share.