aboutsummaryrefslogtreecommitdiffstats
path: root/ui-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-summary.c')
-rw-r--r--ui-summary.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 03b8c6b..6ddd2d7 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -27,10 +27,7 @@ static void print_url(const char *url)
27 columns++; 27 columns++;
28 28
29 if (urls++ == 0) { 29 if (urls++ == 0) {
30 html("<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js'></script>\n"); 30 html("<script type='text/javascript' src='/site.js'></script>\n");
31 html("<script>\n");
32 html("$(document).ready(function() { $('.copy').click(function(e) { var tmp = $('<input>'); $('body').append(tmp); tmp.val($(this).text()).select(); document.execCommand('copy'); tmp.remove(); e.preventDefault(); }); });\n");
33 html("</script>");
34 htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>", columns); 31 htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>", columns);
35 htmlf("<tr class='nohover'><th class='left' colspan='%d'>clone</th></tr>\n", columns); 32 htmlf("<tr class='nohover'><th class='left' colspan='%d'>clone</th></tr>\n", columns);
36 } 33 }