Skip to content

Commit

Permalink
hide config/download widgets with word cloud itself
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouji2013 committed Aug 5, 2022
1 parent e45d16b commit a35023f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/src/main/webapp/js/ctd2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1385,9 +1385,13 @@ import MraView from './mra.js'
}).fail(function (err) {
console.log(err);
});
$("#config-wordcloud").hide()
$("#download-wordcloud").hide()
$("#subject-wordcloud").hide();
$("#subject-wordcloud-button").click(function (e) {
e.preventDefault();
$("#config-wordcloud").toggle()
$("#download-wordcloud").toggle()
$("#subject-wordcloud").toggle();
$("#subject-wordcloud-toggle-word").text(function (index, content) {
if (content == "Show") return "Hide";
Expand Down

0 comments on commit a35023f

Please sign in to comment.