danielstorey / adapt-dragndrop

An Adapt Framework question component where the learner must drag and drop answers into the correct places
GNU General Public License v3.0
5 stars 9 forks source link

Javascript errors when building course #9

Open chrisgillison opened 3 years ago

chrisgillison commented 3 years ago

In Framework 5.14.0, 2 files in the js folder break the javascript:compile at course build. Errors are:

src\components\adapt-dragndrop\js\jquery.ui.touch-punch.js: Cannot read property 'type' of undefined

and

src\components\adapt-dragndrop\js\jquery-ui.min.js: Cannot read property 'type' of undefined

simondate commented 2 years ago

I noticed this only on mobile devices.

I've found that it get's fixed by updating to the latest version of the Jquery-UI library v1.13.2

Creating a PR now