MediaWiki:Minerva.js:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
创建页面,内容为“→‎这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载:​ $(function () { startScroll(); autoScroll(); // T111565 var $collapsibles = $('.mw-collapsible'); if ($collapsibles.length) { mw.loader.using('jquery.makeCollapsible').then(function() { $collapsibles.makeCollapsible(); }); } });”
标签移动版编辑 移动版网页编辑
 
无编辑摘要
标签移动版编辑 移动版网页编辑
第1行: 第1行:
/* 这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载 */
/* 这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载 */
secondChild.css("top", "".concat((maxHeight - secondChildHeight) / 2, "px"));
otherChild.css("top", "".concat(Math.ceil(maxHeight), "px"));
setTimeout(function () {
all.removeClass("animation");
firstChild.appendTo(self).css("top", Math.ceil(maxHeight));
}, 400);
});
}
}, 5000);
}
$(function () {
$(function () {
startScroll();
startScroll();

2025年1月4日 (六) 02:46的版本

/* 这里的任何JavaScript将为使用MinervaNeue皮肤的用户加载 */
secondChild.css("top", "".concat((maxHeight - secondChildHeight) / 2, "px"));
				otherChild.css("top", "".concat(Math.ceil(maxHeight), "px"));
				setTimeout(function () {
					all.removeClass("animation");
					firstChild.appendTo(self).css("top", Math.ceil(maxHeight));
				}, 400);
			});
		}
	}, 5000);
}

$(function () {
	startScroll();
	autoScroll();

	// T111565
	var $collapsibles = $('.mw-collapsible');
	if ($collapsibles.length) {
		mw.loader.using('jquery.makeCollapsible').then(function() {
			$collapsibles.makeCollapsible();
		});
	}
});