Flyer53 / jsPanel3

A jQuery Plugin to create highly configurable floating panels, modals, tooltips, hints/notifiers or contextmenus for use in a backend solution and other web applications.
http://v3.jspanel.de/
Other
89 stars 21 forks source link

Uncaught DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('btn btn-danger btn-sm') contains HTML space characters, which are not valid in tokens. #36

Closed majksner closed 7 years ago

majksner commented 7 years ago

It happens on my installation as well as on demo (Only on 3.6.0). Click on "Execute example 1" and you'll see error in browser console. http://jspanel.de/api/#option/footerToolbar

Flyer53 commented 7 years ago

Hey there, Bug is located, thanks for reporting. I think I'll have the fix online later today ...

Reason is in 3.6.0 I replaced some of the jQuery code with "native" javascript. In this particular case it's Element.classList.add() that can't handle a space seperated list of classnames to add.

Flyer53 commented 7 years ago

Fixed and updated release 3.6.1 is online ...

majksner commented 7 years ago

Thanks.

On Feb 8, 2017 12:21, "Stefan Sträßer" notifications@github.com wrote:

Fixed and updated release 3.6.1 is online ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Flyer53/jsPanel3/issues/36#issuecomment-278301356, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfRYw9IQp8DXKR2k5NV9zYaaYKzr-m-ks5raaUtgaJpZM4L6d1j .