@if (Model.Photo != null)
{
@@ -359,7 +359,7 @@
if (Model.GanjoorPage.SecondPoet == null)
{
-
+
@if (Model.IsPoetPage)
{
@@ -374,7 +374,7 @@
}
-
+
@if (Model.GanjoorPage.PoetOrCat.Cat.PaperSources != null && Model.GanjoorPage.PoetOrCat.Cat.PaperSources.Any())
{
diff --git a/GanjooRazor/wwwroot/js/bk.js b/GanjooRazor/wwwroot/js/bk.js
index e5f52f47..88b99de6 100644
--- a/GanjooRazor/wwwroot/js/bk.js
+++ b/GanjooRazor/wwwroot/js/bk.js
@@ -1653,9 +1653,9 @@ function loadWordCounts(catId, poetId, remStopWords) {
success: function (data) {
if (document.getElementById("remove-this-wordcounts") != null) {
document.getElementById("remove-this-wordcounts").remove();
- /*if (document.getElementById("load-word-counts") != null) {
- document.getElementById("percent-button").style.display = 'inline-block';
- }*/
+ if (document.getElementById("load-word-counts") != null) {
+ document.getElementById("load-word-counts").remove();
+ }
$(data).appendTo(divParent);
plotChart('words-stats');
}