debug
This commit is contained in:
@@ -150,7 +150,6 @@
|
||||
|
||||
$('.__slide article.programme[data-date]').each(function(i, el){
|
||||
date = $(el).data('date');
|
||||
|
||||
if (dates.hasOwnProperty(date)) {
|
||||
dates[date] += 1;
|
||||
$(this).addClass('last');
|
||||
@@ -159,7 +158,6 @@
|
||||
dates[date] = 1;
|
||||
$(this).addClass('first');
|
||||
var dateValue = $(this).data('date');
|
||||
console.log('dateValue',dateValue);
|
||||
$("<span>"+dateValue+"</span>").prependTo($(this));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user