X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;h=678dac3add9916f5ea06bd91161e69c5d612ae75;hp=e006f3c01194cf7c91034c441c80b9c13a80ae0b;hb=4a510de0c99d080cdd3ecc837307ac8ee3509e87;hpb=c5b1b9cbaf5426f2e46245e2b47088ec613d33b9 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 + "%") } /**