From 5a313aa466ac046c5ab901eaa9e1d62518a50e69 Mon Sep 17 00:00:00 2001 From: hansonr Date: Wed, 10 Jul 2019 09:55:53 +0100 Subject: [PATCH 1/1] JAL-3253-applet JAL-3360 HTML tooltips not trimming properly; need
for sizing in JavaScript --- src/jalview/gui/JvSwingUtils.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/jalview/gui/JvSwingUtils.java b/src/jalview/gui/JvSwingUtils.java index a582133..c1c8c82 100644 --- a/src/jalview/gui/JvSwingUtils.java +++ b/src/jalview/gui/JvSwingUtils.java @@ -95,15 +95,12 @@ public final class JvSwingUtils { return enclose ? "" + ttext + "" : ttext; } - - return (enclose ? "
" - - // BH 2018,2019 - - + "
" + // BH 2018,2019 + return (enclose + ? "
" + ttext - + "
" - + "" : ttext); + + "
" + : ttext); } -- 1.7.10.2