Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-webresources
Commits
ad0fe0a5
Commit
ad0fe0a5
authored
Oct 09, 2020
by
Gradl, Tobias
Browse files
Minor fix for tagcloud not working after language switch
parent
c1d09b38
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/home.js
View file @
ad0fe0a5
...
...
@@ -32,7 +32,8 @@ Home.prototype.handleTagTextClicked = function(tag) {
Home
.
prototype
.
loadWordcloud
=
function
()
{
var
_this
=
this
;
$
.
ajax
({
url
:
window
.
location
.
href
+
_this
.
options
.
tagUrlPrefix
+
"
tags?analyzer=
"
+
_this
.
options
.
analyzer
+
"
&size=
"
+
_this
.
options
.
tagcount
,
//url: window.location.href + _this.options.tagUrlPrefix + "tags?analyzer=" + _this.options.analyzer + "&size=" + _this.options.tagcount,
url
:
__util
.
composeUrl
(
_this
.
options
.
tagUrlPrefix
+
"
tags?analyzer=
"
+
_this
.
options
.
analyzer
+
"
&size=
"
+
_this
.
options
.
tagcount
),
type
:
"
GET
"
,
dataType
:
"
json
"
,
success
:
function
(
data
)
{
_this
.
fillWordcloud
(
data
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment