diff options
| author | Jamal Carvalho <jamal@golang.org> | 2021-11-12 20:00:51 +0000 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2021-11-15 18:12:05 +0000 |
| commit | e4128003cbb95f3ff3b5795f5db9524f6a6f77e7 (patch) | |
| tree | daf27aee28d68593195fb8df2034cd33caf7107b /internal/testing/sample/sample.go | |
| parent | 7208ea09dbeb5c160d440bfd5542d0ad4190d0bc (diff) | |
| download | go-x-pkgsite-e4128003cbb95f3ff3b5795f5db9524f6a6f77e7.tar.xz | |
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>
Diffstat (limited to 'internal/testing/sample/sample.go')
0 files changed, 0 insertions, 0 deletions
