comparison of usage stats of a selected word among all poets #471

This commit is contained in:
Hamid Reza Mohammadi 2025-03-09 14:33:17 +03:30
parent d9fb060fb9
commit d6943b542d
2 changed files with 8 additions and 1 deletions

View File

@ -446,6 +446,13 @@ div.n, div.l {
border: 2px solid #300;
}
.loadingcontainer {
margin: 20px;
display: block;
padding: 3px;
clear: both;
}
#comments {
border-radius: 20px;
}

View File

@ -1698,7 +1698,7 @@ function onSearchWordCounts(catId, poetId, totalWordCount) {
function loadWordCountsByCat(term, poetId, catId, blur) {
var divParent = document.getElementById('wordcounts-placeholder');
var imgElementId = 'loadingwordcountsimg';
divParent.innerHTML = divParent.innerHTML + '<div class="bnumdiv" id="remove-this-wordcounts"><img id="' + imgElementId + '" src="/image/loading.gif" alt="بارگذاری"/></div>';
divParent.innerHTML = divParent.innerHTML + '<div class="loadingcontainer" id="remove-this-wordcounts"><img id="' + imgElementId + '" src="/image/loading.gif" alt="بارگذاری"/></div>';
$.ajax({
type: "GET",
url: '?Handler=WordCountsByPoet&term=' + term + '&poetId=' + poetId.toString() + '&catId=' + catId.toString() + '&blur=' + blur.toString(),