Topic: "Uncaught ReferenceError: Ps is not defined.", Where does Ps come from ?

rocwen free asked 7 years ago


I copy the below and no change to my script. I got the error "Uncaught ReferenceError: Ps is not defined.", So where does Ps come from ? Do i need include additional js beside mdb.js // SideNav init $(".button-collapse").sideNav(); // Custom scrollbar init var el = document.querySelector('.custom-scrollbar'); Ps.initialize(el);

rocwen free answered 7 years ago


Thank you. I have upgrade to MDBPro4, will try it and let you know if that works.

You're trying to use MDB4 component with MDB3. In MDB3 you won't find custom scrollbar

rocwen free answered 7 years ago


I want to confirm first that the double navigation is part of MDB3 Pro ? Did i missuse MDB4 Pro feature in MDBPro3?

Hi, rocwen, Could you please share the code of your sidenav?

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags