X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageMinichat.js;h=e660b1aa9ea2545c6f07fcdefbee58f325d40ec4;hb=ba46dcd8c910e9f5cd4d20325300ddadff99015f;hp=42314d18945d465609c6d4ca7a0614be7aa3cde0;hpb=3ea24df62da92d25d5479d26782c317439b0bc72;p=euphorik.git diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 42314d1..e660b1a 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -9,8 +9,8 @@ // (at your option) any later version. // // Euphorik is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// but WITHOUT ANY WARRANTY; without even the implied warranty of // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License @@ -26,13 +26,17 @@ function PageMinichat(client, formateur, util) this.regexMessageTagMatch = /\{.*?\}>/g this.regexMessageTagReplace = /^(.*?\{.*?\}>)*/ + + // permet d'éviter d'envoyer plusieurs messages simultanément en pressant + // rapidement sur "enter" par exemple + this.envoieMessageEnCours = false } PageMinichat.prototype.contenu = function() { return '\