lib/yard/server/templates/doc_server/processing/html/processing.erb in yard-0.7.3 vs lib/yard/server/templates/doc_server/processing/html/processing.erb in yard-0.7.4

- old
+ new

@@ -6,10 +6,10 @@ <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" charset="utf-8" /> <link rel="stylesheet" href="/css/custom.css" type="text/css" media="screen" charset="utf-8" /> <script type="text/javascript" charset="utf-8" src="/js/jquery.js"></script> <script type="text/javascript" charset="utf-8"> function checkPage(process) { - $.ajax({cache: false, url: "<%= @path %>" + (process ? "?process=true" : ""), success: function() { window.location = "<%= @path %>"; } }); + $.ajax({cache: false, url: "<%= @path %>" + (process ? "?process=true" : ""), statusCode: { 200: function() { window.location = "<%= @path %>"; } } }); setTimeout('checkPage()', 2000); } function setFade() { centerMessage(); $(window).resize(function() { centerMessage(); }); \ No newline at end of file