Skip to content

Commit 18e6619

Browse files
authored
Fix tippy tooltip library not loading in production mode (#7525)
#### Rationale tippy tooltip library was not loading on PanoramaWeb-DR after upgrade to LK 26.3, and in production mode (`-Ddevmode=false`) on my dev machine. The `tippy.lib.xml` only had `mode="dev"` entries causing `ReferenceError: tippy is not defined` in production mode in QCSummaryPanel.js and QCTrendPlotPanel.js. #### Related Pull Requests - #7367 - LabKey/targetedms#1172 #### Changes - Added tippy-bundle.umd.min.js for production mode - Load popper.min.js in both dev and production modes (must load before tippy-bundle)
1 parent d127f76 commit 18e6619

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

core/webapp/internal/tippy.lib.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<libraries xmlns="http://labkey.org/clientLibrary/xml/">
22
<library compileInProductionMode="false">
3+
<script path="internal/tippy/popper.min.js"/>
34
<script path="internal/tippy/tippy-bundle.umd.js" mode="dev"/>
4-
<script path="internal/tippy/popper.min.js" mode="dev"/>
5+
<script path="internal/tippy/tippy-bundle.umd.min.js" mode="production"/>
56
</library>
67
</libraries>

0 commit comments

Comments
 (0)