Browse Source

[fix] if no background image, do not preload

version-14
Anand Doshi 9 years ago
parent
commit
c6282728ec
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      frappe/templates/pages/desk.html

+ 2
- 0
frappe/templates/pages/desk.html View File

@@ -38,7 +38,9 @@
</div>

<!-- hack! load background image asap, before desktop is rendered -->
{% if background_image %}
<img src="{{ background_image }}" style="height: 1px; width: 1px; margin-bottom: -1px;">
{% endif %}

<script type="text/javascript" src="/assets/frappe/js/lib/jquery/jquery.min.js"></script>



Loading…
Cancel
Save