Skip to content

Commit

Permalink
fix url encoding on dep graph link
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Oct 7, 2015
1 parent e9c65f5 commit 29775a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/inc/dependencies-graph.html
Expand Up @@ -13,9 +13,9 @@ <h3 class="text-center"><% release.name %></h3>

<script>
$('#dependencies-graph').on('show.bs.modal', function() {
var iframe = $("#dependencies-graph iframe");
var iframe = $("iframe", this);
var base = "//widgets.stratopan.com/wheel";
var src = base + "?q=<% release.name %>";
var src = base + "?q=<% release.name | uri %>";
iframe.attr("src") || iframe.attr("src", src);
if (!iframe) return e.preventDefault();
});
Expand Down

0 comments on commit 29775a5

Please sign in to comment.