You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/15 14:41:13 UTC
[incubator-ponymail-foal] branch master updated: don't overlap word
cloud objects and other html objects
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 009ee86 don't overlap word cloud objects and other html objects
009ee86 is described below
commit 009ee8667c17c96bb045acf180e2e1dbadeda1ac
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Sep 15 09:41:10 2021 -0500
don't overlap word cloud objects and other html objects
---
webui/js/wordcloud.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/webui/js/wordcloud.js b/webui/js/wordcloud.js
index 04454f8..6fa15ce 100644
--- a/webui/js/wordcloud.js
+++ b/webui/js/wordcloud.js
@@ -97,7 +97,7 @@ async function wordCloud(hash, width, height, obj) {
var textBox = makeWord(word, ss)
- textBox.setAttribute("id", word)
+ textBox.setAttribute("id", "svg_wc_" + word)
svg.appendChild(textBox)
if (!popped) {
textBox.setAttribute("x", 0)
@@ -171,4 +171,4 @@ async function wordCloud(hash, width, height, obj) {
document.body.removeChild(svg)
console.log("Word Cloud generated");
obj.inject(svg);
-}
\ No newline at end of file
+}