aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/templates/subSilver/privmsgs_read_body.tpl3
-rw-r--r--phpBB/templates/subSilver/viewtopic_body.tpl3
2 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/templates/subSilver/privmsgs_read_body.tpl b/phpBB/templates/subSilver/privmsgs_read_body.tpl
index 772688072b..86d9479345 100644
--- a/phpBB/templates/subSilver/privmsgs_read_body.tpl
+++ b/phpBB/templates/subSilver/privmsgs_read_body.tpl
@@ -5,9 +5,10 @@
function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
{
- while( !icq_add_img_src.src )
+ if( !icq_add_img_src.width )
{
icq_add_img_src.src = icq_add_img;
+ while( !icq_add_img_src.width );
}
if( icq_user_addr.length && icq_user_addr.indexOf(" ") == -1 )
diff --git a/phpBB/templates/subSilver/viewtopic_body.tpl b/phpBB/templates/subSilver/viewtopic_body.tpl
index a4fa4901e1..162a53dcbb 100644
--- a/phpBB/templates/subSilver/viewtopic_body.tpl
+++ b/phpBB/templates/subSilver/viewtopic_body.tpl
@@ -6,9 +6,10 @@
function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
{
- while( !icq_add_img_src.src )
+ if( !icq_add_img_src.width )
{
icq_add_img_src.src = icq_add_img;
+ while( !icq_add_img_src.width );
}
if( icq_user_addr.length && icq_user_addr.indexOf(" ") == -1 )