MediaWiki:Tangle/定数表/dev.js:修订间差异

// Edit via Wikiplus
(// Edit via Wikiplus)
(// Edit via Wikiplus)
第1行: 第1行:
$(function () {
$(function () {
   console.log("javascript load from MediaWiki:Tangle/定数表/dev.js")
    const container = document.getElementById("chart-constant-js-cut-in-1");
    const container = document.getElementById("chart-constant-js-cut-in-1");


第94行: 第92行:
     targets.forEach((target) => {
     targets.forEach((target) => {
      const matchedTables = document.querySelectorAll("div." + target);
      const matchedTables = document.querySelectorAll("div." + target);
     console.log(targets);
      matchedTables.forEach((table) => table.classList.remove("hidden"));
      matchedTables.forEach((table) => table.classList.remove("hidden"));
     });
     });