2 little Issues…

MDB SupportCategory: MDB jQuery2 little Issues…
spurwerk Pro User asked 6 months ago in MDB pro, version:4.4.3

Hello,I can´t find the issue, can you help me out? Console:”Uncaught TypeError: Cannot read property ‘top’ of undefinedat mdb.min.js:7″. And I want to change the wording in the Time-Picker, can´t find a way to do it (“DONE”). In the Date-Picker it is no prob. Thank you – Frank

3 Answers
Mikołaj Smoleński answered 6 months ago

Do You have navbar on Your page? First error is probably connected with navbar. Please update Your mdb PRO to 4.4.5.

If You want to change text in timepicker You should use this code:

'donetext': 'Your text'


spurwerk Pro User answered 6 months ago

Thank you for you quick answer!

  1. Donetext – no problem!


spurwerk Pro User replied 6 months ago

I don´t have a NAVBAR on the page. That seems to be the problem. If I wrap it around then the ERROR ist gone. Thanx fpr that TIPP too 😉

spurwerk Pro User answered 6 months ago

Another issue comes now when choosing a time:

Uncaught TypeError: t.className.split is not a function
at WOW.doSync (mdb.min.js:7)
at WOW.<anonymous> (mdb.min.js:7)
at Array.forEach (<anonymous>)
at WOW._mutations (mdb.min.js:7)


How can I avoid this? Thank you so much 🙂

Mikołaj Smoleński replied 6 months ago

Please copy here Your code. I suppose something is missing there.