diff --git a/script.js b/script.js index fbded54..372e82a 100644 --- a/script.js +++ b/script.js @@ -243,7 +243,9 @@ $(document).ready(function() { $('#tbody td').click(function() { var dateString = $(this).data('date'); $('#selectedDate').text(dateString); - window.location.href = 'date.html?date=' + encodeURIComponent(dateString); + // window.location.href = 'date.html?date=' + encodeURIComponent(dateString); + var url = 'date.html?date=' + encodeURIComponent(dateString); + window.open(url, '_blank'); }); }