Skip to content

Commit

Permalink
change log message to debug; tweak its wording
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed May 21, 2024
1 parent 192d822 commit 023bd21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ async function DismissBannerAndStorePref(event) {
let version = DOCUMENTATION_OPTIONS.VERSION;
let now = new Date();
let banner_pref = JSON.parse(localStorage.getItem("pst_banner_pref") || "{}");
console.log(
`[PST] Remembering to not show the banner for ${version} until ${now}.`,
console.debug(
`[PST] Dismissing the version warning banner on ${version} starting ${now}.`,
);
banner_pref[version] = now;
localStorage.setItem("pst_banner_pref", JSON.stringify(banner_pref));
Expand Down

0 comments on commit 023bd21

Please sign in to comment.