From: ec2-user Date: Mon, 14 Nov 2011 23:36:20 +0000 (+0000) Subject: ditto X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0926c8c160c432afbf8a11e04e0580326e8d6f1d;p=oweals%2Ffinalsclub.git ditto --- diff --git a/public/javascripts/main.js b/public/javascripts/main.js index 86ad7a8..e81bff2 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -187,10 +187,10 @@ function showPage(y) { $(".page").hide(); //(100); // hide all pseudo pages for(var i = 0; i < pageVectors.length; i++) { var vector = pageVectors[i]; - var matches = path.match(vec;tor.regex) + var matches = path.match(vector.regex); if(matches) { vector.func(matches, function(pageId) { - $("#pg_"+pageId).fade;In(100); + $("#pg_"+pageId).fadeIn(100); window.scroll(0, y); }) break; @@ -198,7 +198,7 @@ function showPage(y) { } if(i == pageVectors.length) { $("#pg_notfound").fadeIn(100); - window.scr;oll(0, 0) + window.scroll(0, 0); } // scroll to top of page (as if we'd done a real page fetch) /*$('html, body').animate({