cleanup
This commit is contained in:
@@ -156,8 +156,16 @@ img {
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.yamm-item {
|
||||
min-height: 100px;
|
||||
.yamm1 {
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.yamm2 {
|
||||
max-width: 675px;
|
||||
}
|
||||
|
||||
.yamm3 {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
/*!
|
||||
@@ -207,7 +215,7 @@ window.onload = function () {
|
||||
var start = true;
|
||||
var count = 1;
|
||||
} else if (start === true && count < 5 && h[i]["Hours"] === "Closed" ) {
|
||||
document.getElementById('hours' + count).innerHTML = "<span style='color:#777;'><p>" + targetDate.toLocaleDateString("en-US", options_weekday) + "<br />" + targetDate.toLocaleDateString("en-US", options_date) + "</p><p>" + h[i]["Hours"] + "</p></span>"
|
||||
document.getElementById('hours' + count).innerHTML = "<span style='color:#666;'><p>" + targetDate.toLocaleDateString("en-US", options_weekday) + "<br />" + targetDate.toLocaleDateString("en-US", options_date) + "</p><p>" + h[i]["Hours"] + "</p></span>"
|
||||
count++;
|
||||
} else if (start === true && count < 5 && h[i]["Hours"] != "Closed") {
|
||||
document.getElementById('hours' + count).innerHTML = "<p>" + targetDate.toLocaleDateString("en-US", options_weekday) + "<br />" + targetDate.toLocaleDateString("en-US", options_date) + "</p><p>" + h[i]["Hours"] + "</p>"
|
||||
|
||||
Reference in New Issue
Block a user