app/views/logs/index.erb in tailog-0.3.3 vs app/views/logs/index.erb in tailog-0.3.4
- old
+ new
@@ -17,11 +17,12 @@
window.fileSizeDone = {};
var $window = $(window),
$document = $(document),
$content = $("#content");
+ var dividerId = 1;
$("#add_divider").click(function() {
- $content.append('<span class="divider">' + new Date() + '</span>');
+ $content.append('<span class="divider"> #' + dividerId++ + ' - ' + new Date() + '</span>');
});
function loadMore() {
$.post(window.location.href, { seek: window.fileSize }, function(json) {
try {