- Issue created by @apiddington
Line 160 of sidr.js is "options = $.parseJSON(options);". This raises the error that jQuery.parseJSON is not a function.
From jQuery: As of jQuery 3.0, $.parseJSON is deprecated. To parse JSON strings use the native JSON.parse method instead.
Drupal v11 comes with jQuery 4.0.0-beta.2.
Install Drupal v11 and add sidr v5.0.0-rc2.
Create a popup menu. It will not trigger the popup.
Change line 160 of sidr.js to "options = JSON.parse(options);".
The menu will now popup.
Active
5.0
Code