X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=js%2FpageMinichat.js;h=678dac3add9916f5ea06bd91161e69c5d612ae75;hb=4a510de0c99d080cdd3ecc837307ac8ee3509e87;hp=e006f3c01194cf7c91034c441c80b9c13a80ae0b;hpb=327c3bd99f586f3cf3af55f9adb10a71eb78cdd4;p=euphorik.git diff --git a/js/pageMinichat.js b/js/pageMinichat.js index e006f3c..678dac3 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -840,8 +840,9 @@ Messages.prototype.supprimerConversation = function(num) * Ajuste la largeur des conversations en fonction de leur nombre. modifie l'attribut CSS 'width'. */ Messages.prototype.ajusterLargeurConversations = function() -{ - $("#conversations .conversation").css("width", 100 / this.conversations.length + "%") +{ + // le "- 0.01" evite que IE se chie dessus lamentablement et affiche les conversations les unes au dessus des autres + $("#conversations .conversation").css("width", (100 / this.conversations.length) - 0.01 + "%") } /**