PageSourceSearch

https://crocomi.co.jp/wp-content/themes/crocomi/js/flex-justify.js?ver=6.2.14

js crocomi.co.jp collected 2026-10-08 21:15:12 UTC 706 bytes, 27 lines download raw bytes

1//flexboxでカードを並べたときのjustify-content で左揃えになるよう、空要素挿入
2jQuery(document).ready(function($) {
3	var flexCards = $(".site-main");
4	flexCards.each(function () {
5		var flexCard = $(this).children('article');
6		var colNum = parseInt($(this).width() / flexCard.width());
7		for (var i = 0; i < colNum - 1; i++) {
8			var fillElement = $('<article>', {
9				class: "fill_element"
10			});
11
12			fillElement.css({
13				height: "0",
14				margin: "0",
15				width: flexCard.width() + "px",
16				padding: "0"
17			});
18			$(this).append(fillElement);
19		}
20
21		$(window).resize(function () {
22			fillElements = $(".fill_element");
23			fillElements.width(flexCard.width());
24		});
25	});
26
27});

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.