diff --git a/assets/javascripts/metrics/components/OrganizationsTable.js b/assets/javascripts/metrics/components/OrganizationsTable.js index 804a705..33c8507 100644 --- a/assets/javascripts/metrics/components/OrganizationsTable.js +++ b/assets/javascripts/metrics/components/OrganizationsTable.js @@ -1,5 +1,4 @@ import DataTable from "datatables.net-dt"; -import jQuery from "jquery"; import { computed, defineComponent, @@ -11,7 +10,7 @@ import { import useMetricsStore from "../stores/metrics"; -DataTable.defaults.column.orderSequence = ['asc', 'desc']; +DataTable.defaults.column.orderSequence = ["asc", "desc"]; export default defineComponent({ template: ` diff --git a/assets/javascripts/signup_embed.js b/assets/javascripts/signup_embed.js index 343ca45..c43c357 100644 --- a/assets/javascripts/signup_embed.js +++ b/assets/javascripts/signup_embed.js @@ -285,8 +285,8 @@ const modal = new A11yDialog(modalEl); // Setup close handlers for a11y-dialog when inside the shadow DOM (since their // default document listeners won't work). -modalEl.querySelectorAll('[data-a11y-dialog-hide]').forEach((closer) => { - closer.addEventListener('click', modal.hide); +modalEl.querySelectorAll("[data-a11y-dialog-hide]").forEach((closer) => { + closer.addEventListener("click", modal.hide); }); const formEl = containerShadowRootEl.querySelector("form"); diff --git a/assets/stylesheets/_metrics.scss b/assets/stylesheets/_metrics.scss index 17270b2..d1a97a7 100644 --- a/assets/stylesheets/_metrics.scss +++ b/assets/stylesheets/_metrics.scss @@ -70,7 +70,8 @@ body.api-metrics { // Fix bottom border getting clipped by usa-table-container--scrollable // caused by these empty elements datatables adds. - colgroup, tfoot { + colgroup, + tfoot { display: none; } } diff --git a/package.json b/package.json index a8f4c76..81b4e7c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "echarts": "^5.5.1", "escape-html": "^1.0.3", "form-serialize": "^0.7.2", - "jquery": "^3.7.1", "ky": "^1.4.0", "lodash-es": "^4.17.21", "pinia": "^2.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4adc39e..32824e5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,9 +29,6 @@ importers: form-serialize: specifier: ^0.7.2 version: 0.7.2 - jquery: - specifier: ^3.7.1 - version: 3.7.1 ky: specifier: ^1.4.0 version: 1.4.0