Commit ad0fe0a5 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Minor fix for tagcloud not working after language switch

parent c1d09b38
......@@ -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); },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment