diff --git a/pagure/templates/docs.html b/pagure/templates/docs.html index 03467fc..644d78c 100644 --- a/pagure/templates/docs.html +++ b/pagure/templates/docs.html @@ -11,7 +11,7 @@ repo=repo.namespace + '.' + repo.name if repo.namespace else repo.name, username=username, filename=filename) }}" - frameborder="0" onload="resize_iframe()"> + frameborder="0">
Your browser does not support iframe, please visit +$('#docframe').load(function() { + resize_iframe(); +}); + +{% endblock %} \ No newline at end of file