1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-18 07:07:35 +02:00

Fix print details toggle (#1048)

* Fix print details toggle

* Update speaker-notes.js

Co-authored-by: Martin Geisler <mgeisler@google.com>

---------

Co-authored-by: Martin Geisler <mgeisler@google.com>
This commit is contained in:
sakex
2023-08-02 15:42:42 +02:00
committed by GitHub
parent f04dd2e87e
commit b44a6f76c3

View File

@ -230,7 +230,7 @@
markDefunct();
break;
default:
if (window.location.pathname == "/print.html") {
if (window.location.pathname.endsWith("/print.html")) {
setupPrintPage();
return;
}