commit | 239f09e2f920a3ab0f15a90e88fdc6c3701f2403 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Thu May 18 13:10:09 2017 -0700 |
committer | Simon Hunt <simon@onlab.us> | Fri May 19 14:48:42 2017 +0000 |
tree | 9d082bd5f20b86d74d8e8aac1c0d27755a27d582 | |
parent | 3568df76f9ffe4f84841c20eb5865b8c2577f8d2 [diff] [blame] |
Replace usage of .html(...) with .text(...) where possible; Wrap input with fs.sanitize(...) where .html() must be used. Change-Id: I39e20b6fb561b3a1801579ca6a86a5f94483e4a9
diff --git a/web/gui/src/main/webapp/app/fw/widget/tooltip.js b/web/gui/src/main/webapp/app/fw/widget/tooltip.js index b982347..beca6f8 100644 --- a/web/gui/src/main/webapp/app/fw/widget/tooltip.js +++ b/web/gui/src/main/webapp/app/fw/widget/tooltip.js
@@ -36,7 +36,7 @@ function init() { tooltip = d3.select('#tooltip'); - tooltip.html(''); + tooltip.text(''); } function tipStyle(mouseX, mouseY) {