diff --git a/src/components/tree/tipSelectedPanel.js b/src/components/tree/tipSelectedPanel.js index 3be096faf..eeaf5d6b0 100644 --- a/src/components/tree/tipSelectedPanel.js +++ b/src/components/tree/tipSelectedPanel.js @@ -1,3 +1,4 @@ +/*eslint-env browser*/ import React from "react"; import {infoPanelStyles} from "../../globalStyles"; @@ -34,11 +35,17 @@ const TipSelectedPanel = ({tip, goAwayCallback}) => { } }; + const stopProp = (e) => { + if (!e) {e = window.event;} + e.cancelBubble = true; + if (e.stopPropagation) {e.stopPropagation();} + }; + const makePanel = () => { if (!tip) {return null;} return (
{`${tip.n.strain}`}