Skip to content

Can't init dropit #25

@dylanh724

Description

@dylanh724

jq 2.2.0
<script src='js/dropit.js' type='text/javascript'></script>

<link href="css/dropit.css" rel="stylesheet" type="text/css">

$( document ).ready(function() 
{
    // Copy+Paste sample .menu
    $( '.menu' ).dropit({
        afterLoad: function(){ console.log("dropit initialized.") } // Triggers when plugin has loaded
    });
}

Nothing was showing up on click, so I added the callback option afterLoad and I'm not getting this console msg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions