Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "use strict"
- !function( $ ){
- $.fn.dropdown = function (type) {
- return this.one(type, function (event)
- {
- event.preventDefault();
- $(this).toggleClass("open");
- })
- }
- $(function () {
- $('.clickdrop').dropdown( 'click' )
- $('.hoverdrop').dropdown( 'hover' )
- })
- }( window.jQuery || window.ender );
Add Comment
Please, Sign In to add comment