Skip to content

Commit

Permalink
Fix Javascript so non-Freebase preview popouts work.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Blissett authored and tfmorris committed Nov 2, 2014
1 parent a584263 commit 9f4c66b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ DataTableCellUI.prototype._previewCandidateTopic = function(candidate, elmt, pre
.html(DOM.loadHTML("core", "scripts/views/data-table/cell-recon-preview-popup-header.html"));

if (preview && preview.url) { // Service has a preview URL associated with it
var url = encodeURI(preview.srch.replace("{{id}}", id));
var url = encodeURI(preview.url.replace("{{id}}", id));
var iframe = $('<iframe></iframe>')
.width(preview.width)
.height(preview.height)
Expand Down

0 comments on commit 9f4c66b

Please sign in to comment.