X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c446cd5aed63e0ea7ee52c05bf3d0ca8951969b2..95ed76f356fd3f69566c6e127a9335f27a8813c1:/redakcja/static/js/wiki/loader.js?ds=sidebyside diff --git a/redakcja/static/js/wiki/loader.js b/redakcja/static/js/wiki/loader.js index 7e5c8645..f2d7fb71 100644 --- a/redakcja/static/js/wiki/loader.js +++ b/redakcja/static/js/wiki/loader.js @@ -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); }});