diff options
author | Eric Moffatt <emoffatt@ca.ibm.com> | 2015-07-14 14:22:14 -0400 |
---|---|---|
committer | John Arthorne <John_Arthorne@ca.ibm.com> | 2015-07-17 09:23:14 -0400 |
commit | ec5c6c144c853034eb323c195267873be1d00017 (patch) | |
tree | 8989668667dd63acff7ac9cef5e0e3c67dacd212 | |
parent | a382fb9efef9c5bbdaecdf20f8cae2df107b5a2e (diff) | |
download | org.eclipse.orion.client-origin/stable_20150713.zip org.eclipse.orion.client-origin/stable_20150713.tar.gz org.eclipse.orion.client-origin/stable_20150713.tar.bz2 |
Bug 472622 - Popups and tooltips are showing multiple contentorigin/stable_20150713
-rw-r--r-- | bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js index 311b6b8..8b58386 100644 --- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js +++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js @@ -361,6 +361,9 @@ function Tooltip (view) { } if (newContentsDiv) { + if (this._tooltipContents) { + this._tooltipDiv.removeChild(this._tooltipContents); + } this._tooltipContents = newContentsDiv; this._tooltipDiv.appendChild(newContentsDiv); } |