projects
/
euphorik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f49b7e
)
MOD optimisation qui je l'espère n'a pas trop foutu la merde
author
Greg Burri
<greg.burri@gmail.com>
Sat, 3 May 2008 23:09:25 +0000
(23:09 +0000)
committer
Greg Burri
<greg.burri@gmail.com>
Sat, 3 May 2008 23:09:25 +0000
(23:09 +0000)
js/pageMinichat.js
patch
|
blob
|
history
diff --git
a/js/pageMinichat.js
b/js/pageMinichat.js
index
9e042e4
..
637ff21
100755
(executable)
--- a/
js/pageMinichat.js
+++ b/
js/pageMinichat.js
@@
-520,8
+520,8
@@
Conversation.prototype.flush = function(funClickExtract, funClickLienConv)
}
)
-
this.idDernierMessageAffiche = jQuery("#conversations #" + this.getId() + " div:first").attr("id"
)
- this.idDernierMessageAffiche = (this.idDernierMessageAffiche == undefined ? 0 : parseInt(this.idDernierMessageAffiche, 36))
+
if (this.messages.length > 0
)
+ this.idDernierMessageAffiche = this.messages[this.messages.length-1].id
}
/**