N shortcut 2: help! variable undefined


I'm getting this error message: "Make sure you have defined all the variables!"

But I thought I had... not sure what the issue is! Any help would be greatly appreciated :slight_smile:

var main = function() {
        $("article").click(function() {
        $(document).keypress(function(event) {
        if(event.which===111) {
        else if(event.which === 110) {
            var currentArticle = $('.current');
            var nextArticle = current.Article.next();




Have a close look at



Got it! That was a stupid mistake. Thanks!


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.