Skip to content

Commit

Permalink
added workaround for getting refresh button working again
Browse files Browse the repository at this point in the history
  • Loading branch information
quitschibo committed Apr 16, 2013
1 parent df7a4fa commit 54e707d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.js
Expand Up @@ -29,7 +29,7 @@ function UpdateIfReady(force) {
}

function UpdateFeed() {
$.ajax({type:'GET', dataType:'xml', url: 'https://news.ycombinator.com/rss', timeout:5000, success:onRssSuccess, error:onRssError});
$.ajax({type:'GET', dataType:'xml', url: 'https://news.ycombinator.com/rss', timeout:5000, success:onRssSuccess, error:onRssError, async: false});
}

function onRssSuccess(doc) {
Expand Down

0 comments on commit 54e707d

Please sign in to comment.