Skip to content

Commit

Permalink
Merge pull request #5 from LoicMahieu/patch-1
Browse files Browse the repository at this point in the history
In case of tags is an empty array
  • Loading branch information
fzaninotto committed Mar 30, 2012
2 parents 773061b + f9e7264 commit 7dfba88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/dashboard/views/tags.ejs
Expand Up @@ -47,7 +47,8 @@ jQuery(document).ready(function($) {
});
$('#tags tbody').html(lines.join(''));
$('#tags').trigger('update');
$('#last_update').text('Last updated on ' + lastUpdated.toLocaleString());
if( lastUpdated )
$('#last_update').text('Last updated on ' + lastUpdated.toLocaleString());
});
}
updateTags();
Expand Down

0 comments on commit 7dfba88

Please sign in to comment.