Topic: anonymous function
gabrielsule
free
asked 6 years ago
I am using Chrome version 53.0.2785.143 m (64-bit) and gives me the following error
Uncaught TypeError: Cannot read property 'classList' of null
i.add @mdb.min.js:8
e.exports @mdb.min.js:9
(anonymous function) @main.js:4
In Firefox 49.0.1
TypeError: t is null mdb.min.js:8:18496
[2]</i.add() mdb.min.js:8
[17]</e.exports() mdb.min.js:9
<anónimo> main.js:4
but in Edge not
Please I need to fix it, thank you very much in advance
Add comment
Bartłomiej Malanowski
staff
answered 6 years ago
Do you have any .custom-scrollbar in your code? If you don't, remove code that initializes custom scrollbar:
var el = document.querySelector('.custom-scrollbar');
Ps.initialize(el);
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Specification of the issue
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No