diff options
author | alecpl <alec@alec.pl> | 2009-07-29 09:35:32 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-29 09:35:32 +0000 |
commit | 9e953bc2d468d3e1c1ddbdfdb62339af6c624711 (patch) | |
tree | 37028f4b30cf05683957239c5d8f1489bbc124c0 /program/js/app.js | |
parent | 5dc7c21bdc0eea39202c278f1645f354caac5e4a (diff) |
- fix preloading images without defined source
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js index a0679264a..9cd423116 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -134,7 +134,7 @@ function rcube_webmail() this.goto_url('error', '_code=0x199'); return; } - + // find all registered gui containers for (var n in this.gui_containers) this.gui_containers[n] = $('#'+this.gui_containers[n]); @@ -155,7 +155,7 @@ function rcube_webmail() if (this.env.permaurl) this.enable_command('permaurl', true); - + switch (this.task) { case 'mail': @@ -3370,7 +3370,6 @@ function rcube_webmail() if (prop.type == 'image') { elm = elm.parentNode; preload = true; - new Image().src = prop.sel; } elm._command = cmd; |