Skip to content

Commit

Permalink
added spacing between links
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rajneeshkumar committed May 6, 2024
1 parent effd21e commit f257654
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions blocks/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,9 @@ export default async function decorate(block) {
if (idx === 5) {
const copyrightTextEn = p({ class: 'en OneLinkHide footer-copyright-text' }, ${new Date().getFullYear()} Molecular Devices, LLC. All rights reserved.`);
const copyrightTextZh = p({ class: 'zh OneLinkShow_zh1 footer-copyright-text' },
${new Date().getFullYear()} Molecular Devices, LLC. 保留所有权利。`,
a({ href: 'https://beian.miit.gov.cn/' }, '沪ICP备05056171号-2'),
' ',
a({ href: 'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=%E6%B2%AA%E5%85%AC%E7%BD%91%E5%AE%89%E5%A4%87%2031010502001469%E5%8F%B7' }, '沪公网安备 31010502001469号'),
${new Date().getFullYear()} Molecular Devices, LLC. 保留所有权利`,
a({ href: 'https://beian.miit.gov.cn/', style: 'margin-left: 4px;' }, ' 沪ICP备05056171号-2'),
a({ href: 'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=%E6%B2%AA%E5%85%AC%E7%BD%91%E5%AE%89%E5%A4%87%2031010502001469%E5%8F%B7', style: 'margin-left: 4px;' }, ' 沪公网安备 31010502001469号'),
);
const imgWrapper = row.getElementsByTagName('p')[0];
const danaherUrl = 'https://www.danaher.com/?utm_source=MLD_web&utm_medium=referral&utm_content=trustmarkfooter';
Expand Down
5 changes: 3 additions & 2 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,8 @@ export function setCookie(cname, cvalue, exdays) {
let hostName = '';
let domain = '';
let expires = '';
date.setTime(date.getTime() + exdays * 24 * 60 * 60 * 1000);
// date.setTime(date.getTime() + exdays * 24 * 60 * 60 * 1000);
date.setTime(date.getTime() + exdays * 60 * 1000);
if (exdays !== 0) {
expires = `expires=${date.toUTCString()}`;
}
Expand Down Expand Up @@ -1162,7 +1163,7 @@ async function loadPage() {
const cookieParams = ['cmp', 'utm_medium', 'utm_source', 'utm_keyword', 'gclid'];

cookieParams.forEach((param) => {
setCookieFromQueryParameters(param, 0);
setCookieFromQueryParameters(param, 2);
});

export function isAuthorizedUser() {
Expand Down

0 comments on commit f257654

Please sign in to comment.