From 2239f839503c8edc61b0e67d05bfd5aa86030b0e Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Mon, 9 Sep 2024 22:28:22 +0100 Subject: [PATCH] Use noscript rather than remove --- src/itables/javascript.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/itables/javascript.py b/src/itables/javascript.py index 7b1d1bb4..25b51b3b 100644 --- a/src/itables/javascript.py +++ b/src/itables/javascript.py @@ -132,19 +132,17 @@ def generate_init_offline_itables_html(dt_bundle: Path): dt_css = dt_bundle.with_suffix(".css").read_text(encoding="utf-8") dt64 = b64encode(dt_src.encode("utf-8")).decode("ascii") - id = "itables_init_notebook_mode_" + str(uuid.uuid4()).replace("-", "_") - return f""" -
-{get_animated_logo(opt.display_logo_when_loading)}
-This is the init_notebook_mode cell from ITables v{itables_version}
-(you should not see this message - is your notebook trusted?) -
-
+
+ +
"""