Choices/public/assets
Andreas Fernandez 4a5019f73d
[BUGFIX] Check for constructor name of element on bootstrap
The previous check using `instanceof` fails in case the Choices.js
component is rendered in the `top` frame while the JavaScript actually
using Choices.js is in an iframe.

The conditions are changed to check for `constructor.name` now, solving
the issue.

Due to the rather messy constructor, some quirks like operational
chaining and explicit type casts need to be used to make the TypeScript
compiling process happy.

Fixes: #1057
2022-09-20 16:45:09 +02:00
..
images Fix id types (#743) 2019-11-08 09:19:18 +00:00
scripts [BUGFIX] Check for constructor name of element on bootstrap 2022-09-20 16:45:09 +02:00
styles [BUGFIX] Check for constructor name of element on bootstrap 2022-09-20 16:45:09 +02:00