Skip to content

Commit eeaa588

Browse files
committed
Use default tippy theme
1 parent 05d8df6 commit eeaa588

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/js/kit/pathway-viewer.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import snarkdown from 'snarkdown';
22
import tippy from 'tippy.js';
33
import {getTippyConfig} from '../lib';
4-
import { tippyLightCss } from './tippy-styles';
54

65
const PVJS_URL = 'https://cdn.jsdelivr.net/npm/@wikipathways/[email protected]/dist/pvjs.vanilla.js';
76
const SVGPANZOOM_URL = 'https://cdn.jsdelivr.net/npm/[email protected]/dist/svg-pan-zoom.min.js';
@@ -402,12 +401,6 @@ export async function drawPathway(
402401
const ideogramPathwayEvent = new CustomEvent('ideogramDrawPathway', {detail});
403402
document.dispatchEvent(ideogramPathwayEvent);
404403

405-
const css =
406-
`<style>
407-
${tippyLightCss}
408-
</style>`;
409-
pvjsContainer.insertAdjacentHTML('afterBegin', css);
410-
411404
pathwayContainer.querySelectorAll('g.GeneProduct').forEach(g => {
412405
const geneName = g.getAttribute('name');
413406
let tooltipContent = geneName;

0 commit comments

Comments
 (0)