diff --git a/js/SL.Calendar.js b/js/SL.Calendar.js index cca7ce7..49a6297 100644 --- a/js/SL.Calendar.js +++ b/js/SL.Calendar.js @@ -259,13 +259,6 @@ SL.Calendar = (function() { .attr('id', 'moment_'+j) .attr('ts', m.ts) .appendTo('#grid'); - // show relevant tags and actions - // console.log(classes); - // classes.split(" ").forEach(function (item, index) { - // console.log(item); - // $('li.' + item).show(); - // $('input#' + item).parent().shoe(); - // }); if ( m.planetary.hour.no > 11 ) { $('#moment_'+j).addClass('night-hour'); } @@ -289,16 +282,19 @@ SL.Calendar = (function() { SL.Calendar.download( $("#grid").html(), "grid.html", "skip", "html", "text/html; charset=utf-8"); SL.Calendar.download(Hours.moments, "ephemeris"); } - var classes = Array(); - $(".planetaryhour").each(function(idx, el) { - classes = classes.concat(Array.from(el.classList)); - }); - classes = Array.from(new Set(classes)).filter(x => !['col-md-2', 'centered', 'planetaryhour'].includes(x)); - classes.forEach( function(el) { - console.log('input#' + el); - $('li.' + el).show(); - $('input#' + el).parent().show(); - }); + // show relevant tags and actions + + // var classes = Array(); + // $(".planetaryhour").each(function(idx, el) { + // classes = classes.concat(Array.from(el.classList)); + // }); + // classes = Array.from(new Set(classes)).filter(x => !['col-md-2', 'centered', 'planetaryhour'].includes(x)); + // classes.forEach( function(el) { + // console.log('input#' + el); + // $('li.' + el).show(); + // $('input#' + el).parent().show(); + // }); + } } @@ -482,8 +478,8 @@ SL.Calendar = (function() { actions += '