X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3314477c16f2492b2a6b95b17922e5b6f2b087ca..6bb49f1392846c9c0a20e37eca3ba65fa9f50a77:/redakcja/static/js/wiki/loader.js?ds=inline

diff --git a/redakcja/static/js/wiki/loader.js b/redakcja/static/js/wiki/loader.js
index 9530fc3f..f2d7fb71 100644
--- a/redakcja/static/js/wiki/loader.js
+++ b/redakcja/static/js/wiki/loader.js
@@ -5,7 +5,7 @@ if (!window.console) {
     }
 }
 
-var DEFAULT_PERSPECTIVE = "#SummaryPerspective";
+var DEFAULT_PERSPECTIVE = "#VisualPerspective";
 
 $(function()
 {
@@ -113,7 +113,7 @@ $(function()
 
                 /* every 5 minutes check for a newer version */
                 var revTimer = setInterval(function() {
-                        CurrentDocument.checkRevision({error: function(){
+                        CurrentDocument.checkRevision({outdated: function(){
                             $('#header').addClass('out-of-date');
                             clearInterval(revTimer);
                         }});