N shortcut not working for me


Not sure where I'm missing something but I can't seem to get the N shortcut to work:

var main= function(){

   else if(event.which===110){
        var currentArticle = $('.current');
        var nextArticle = currentArticle.next();






You are using the semi-colon-; in your IF ELSE-IF statement structure.

The semi-colon-; is an End-of-Statement indicator for the Javascript-interpreter,
causing your ELSE-IF statement-part not being seen as part of the IF ELSE-IF statement.