Skip to content

Commit

Permalink
Fix javascript to ask to reload page on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed May 10, 2016
1 parent 476f96b commit c624cac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/collective/liveblog/browser/templates/update.pt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
$.ajax({
url: "recent-updates",
success: function (data) {
if (typeof data !== 'string') {
data = '';
}
$("#micro-updates").prepend(data).fadeIn("slow");
/* in some cases a micro-update could be duplicated; remove it */
var seen = {};
Expand Down

0 comments on commit c624cac

Please sign in to comment.