Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS error - event not defined in jic.js #3

Open
hutorny opened this issue Jun 22, 2013 · 0 comments
Open

JS error - event not defined in jic.js #3

hutorny opened this issue Jun 22, 2013 · 0 comments

Comments

@hutorny
Copy link

hutorny commented Jun 22, 2013

Suggested fix - add event as a parameter

        $(".jic_next").click( function(event) {
            event.preventDefault(); 
            jQueryImageCarousel.next(); 
        }); 
        
        
        $(".jic_previous").click( function(event) {
            event.preventDefault(); 
            jQueryImageCarousel.prev(); 
        }); 
        
        $("#jquery_image_carousel li").click( function(event) {
            event.preventDefault(); 
            jQueryImageCarousel.next(); 
        }); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant