• Resolved netzgestaltung

    (@netzgestaltung)


    Hi there,

    i think wordpress kicked out the jquery-migrations plugin so all occurences of “.live” should be changed to “.on”

    I get this error when i try to add a field to a fieldset of a post type:

    Uncaught TypeError: jQuery(...).live is not a function
    .../wp-content/plugins/just-custom-fields/assets/just_custom_fields.js?ver=5.5:95

    in there you have:

    // init delete button on change popup
      jQuery('#jcf_ajax_content .jcf_edit_fieldset a.field-control-remove').live('click', function() {
    ...

    as quick fix you can enqueue the jquery migrations plugin with your plugin

    kind regards
    tom

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘jQeuery Error “.live is not a function”’ is closed to new replies.