Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

preloading the progress image, fixes render

there may be a better way to do this yet, perhaps
by having the image already in a hidden element
  • Loading branch information...
commit 59cee5152e49cac86b639701a7f3c71b709bc315 1 parent 7f5d0d4
@ptone ptone authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 templates/package/package.html
View
8 templates/package/package.html
@@ -158,12 +158,12 @@ <h2 class="rtd" style="display: none;">Read the Docs</h2>
<script type="text/javascript">
$(function() {
-
+ pic1=new Image();
+ pic1.src="{{ STATIC_URL }}img/progress.gif";
$('#fetch-cell > a').click(function(){
$('#fetch-cell').html('Updating <img src="{{ STATIC_URL }}img/progress.gif">');
- }
- )
- });
+ })
+ });
</script>
<script type="text/javascript">
Please sign in to comment.
Something went wrong with that request. Please try again.