ditto
authorec2-user <ec2-user@fcdev4.finalsclub.org>
Mon, 14 Nov 2011 23:36:20 +0000 (23:36 +0000)
committerec2-user <ec2-user@fcdev4.finalsclub.org>
Mon, 14 Nov 2011 23:36:20 +0000 (23:36 +0000)
public/javascripts/main.js

index 86ad7a845777717d8cf823dbbd2f68309d247c43..e81bff20d8a59a45daa1248a5abfeededcecdebb 100644 (file)
@@ -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({