X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=js%2FpageMinichat.js;h=7282a432beafe4c7c17145f5427636045a5d54d2;hb=39d4d474dc011f29b3060729f7ff09f446093070;hp=8adcd87a1a60ae16fdb1ad3c358bf1be74ae8022;hpb=062787bef9b349d7ab378f9179a6b612b9c469ba;p=euphorik.git diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 8adcd87..7282a43 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 '\