PageSourceSearch

https://sannoubashi.jp/cms/wp-content/themes/sannoubashi/lib/js/mailform.js

js sannoubashi.jp collected 2026-10-08 00:37:12 UTC 504 bytes, 17 lines download raw bytes

1// 金曜日をカレンダーから選択不可にする
2// ただし、2026年8月21日(金)だけ選択可能
3jQuery(function ($) {
4	$(".hasDatepicker").datepicker("option", "beforeShowDay", function (date) {
5
6		// 2026年8月21日かどうか
7		var isSpecialDate =
8			date.getFullYear() === 2026 &&
9			date.getMonth() === 7 &&
10			date.getDate() === 21;
11
12		// 金曜日以外、または特別に許可した日付なら選択可能
13		return [
14			date.getDay() !== 5 || isSpecialDate
15		];
16	});
17});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.