offsetWidth news area Forma 2.1

Please report here problems and bugs
Post Reply
drewlander
Newbie
Posts: 13
Joined: Wed Feb 24, 2016 4:38 am
Version: forma.lms 1.4.1

offsetWidth news area Forma 2.1

Post by drewlander »

javascript error on the bootstrap carousel for the user news area ( under the profile slide-in ).

VM3692 bootstrap-3.3.6.min.js:6 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined

This happens when there is no news. simple fix is to add the news. A better fix might be to check if the array is empty before trying to set the news ???

thx
-d

User avatar
alberto
FormaLms Guru
Posts: 936
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: offsetWidth news area Forma 2.1

Post by alberto »

Thanks drewlander, I added this issue to our bugtracker, to be fixed in next releases
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

Post Reply