1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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