562b1b24f9d7cf5157c799f733ba219e2e9f7da9 max Wed Sep 9 09:06:30 2026 -0700 Assembly search page uses the shared copyToClipboard instead of its own copy The page carried a copy of copyToClipboard marked "borrowed this code from utils.js", and the two had already drifted apart: the fix that stops the button claiming a copy that a browser refused went into one and not the other. The page now loads utils.js, as nine other static pages already do, and its own copy is gone. jquery is already loaded by the page header, so nothing else was needed. The page also declared a global named debug, which utils.js declares too. Both start out false and the two uses in utils.js are in functions this page never calls, so nothing was broken, but the page flag is now searchDebug. The debug URL parameter and stateObject.debug keep their names. refs #38294 diff --git src/hg/htdocs/assemblySearch.html src/hg/htdocs/assemblySearch.html index e2e2c281cd2..cc998fee79c 100755 --- src/hg/htdocs/assemblySearch.html +++ src/hg/htdocs/assemblySearch.html @@ -135,18 +135,19 @@  

+