Permalink
Browse files

workaround for issue #2

  • Loading branch information...
1 parent 6b2b64e commit 3a7d4c2f31c0d5a7c9528be10b4bc054a91145e9 @yaph yaph committed Feb 16, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 static/js/script.js
  2. +2 −0 templates/scan.html
View
2 static/js/script.js
@@ -5,7 +5,7 @@ jQuery(function($) {
for (url in urls) {
var request_url = "/scan?url=" + encodeURIComponent(urls[url]);
$.get(request_url, function(data) {
- $('#content').append(data);
+ $('#responses').append(data);
DOMXSS.scanResponse($);
});
}
View
2 templates/scan.html
@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block content %}
+<div id="responses">
{% include 'response.html' %}
+</div>
{% endblock %}

0 comments on commit 3a7d4c2

Please sign in to comment.