diff --git a/site/gdocs/OwidGdoc.tsx b/site/gdocs/OwidGdoc.tsx index cb7962254b1..aaab0aa165f 100644 --- a/site/gdocs/OwidGdoc.tsx +++ b/site/gdocs/OwidGdoc.tsx @@ -93,11 +93,11 @@ export function OwidGdoc({ >
- + Gdoc / - + Admin
diff --git a/site/owid.entry.ts b/site/owid.entry.ts index 110b01ff658..fbaa25175cf 100644 --- a/site/owid.entry.ts +++ b/site/owid.entry.ts @@ -108,8 +108,8 @@ try { if (id) { const gdocLink = `https://docs.google.com/document/d/${id}/edit` const adminLink = `${ADMIN_BASE_URL}/admin/gdocs/${id}/preview` - const admin = gdocAdminBar.querySelector("#admin") - const gdoc = gdocAdminBar.querySelector("#gdoc") + const admin = gdocAdminBar.querySelector("#admin-link") + const gdoc = gdocAdminBar.querySelector("#gdoc-link") if (admin && gdoc) { admin.setAttribute("href", adminLink) admin.setAttribute("target", "_blank")