Tagged: error, javascript, plug-in
I am using Mike Jolley’s updated download monitor plug-in and using the default editor I cannot insert the download into the post.
I look at the console and get this error
TypeError: $(...).disableSelection is not a function
/wp-content/themes/enfold/framework/js/avia_media_advanced.js?ver=3.5.2
Line 266
Hi!
Open up wp-contentthemesenfoldframeworkjsavia_media_advanced.js and replace
avia_media_advanced.sortable();
with
if($('.avia_sortable_gallery_container').length > 0 || $('.avia_handle').length > 0) avia_media_advanced.sortable();
Best regards,
Peter