commit | e4128003cbb95f3ff3b5795f5db9524f6a6f77e7 | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Fri Nov 12 20:00:51 2021 +0000 |
committer | Jamal Carvalho <jamal@golang.org> | Mon Nov 15 18:12:05 2021 +0000 |
tree | daf27aee28d68593195fb8df2034cd33caf7107b | |
parent | 7208ea09dbeb5c160d440bfd5542d0ad4190d0bc [diff] |
static: fix jump modal on chrome The jump modal breaks in Chrome on pages with a lot of DOM elements. As a workaround we delay the initialization of the modal JS until the window has called the load event. Fixes golang/go#49455 Fixes golang/g0#49556 Change-Id: I846b80538ee7d2a2b821078e9bb05ee7499aac02 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/363735 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.