Fix small Freebase preview widget text - fixes #763
This commit is contained in:
parent
6440194658
commit
7885256d78
@ -464,7 +464,9 @@ DataTableCellUI.prototype._previewCandidateTopic = function(candidate, elmt, pre
|
|||||||
$.ajax(url,{dataType:"jsonp"}).done(function(searchResponse) {
|
$.ajax(url,{dataType:"jsonp"}).done(function(searchResponse) {
|
||||||
var data = searchResponse.result[0];
|
var data = searchResponse.result[0];
|
||||||
var html = $.suggest.suggest.create_flyout(data, preview.imgurl);
|
var html = $.suggest.suggest.create_flyout(data, preview.imgurl);
|
||||||
fakeMenu.append(html);
|
var container = $('<div></div>').css({fontSize:16}); // Suggest assumes this as a base font size
|
||||||
|
container.append(html);
|
||||||
|
fakeMenu.append(container);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user