diff options
| author | sostler <sbostler@gmail.com> | 2009-12-06 21:54:18 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2009-12-06 21:54:18 -0500 |
| commit | 3e3015be26c5d73a864a693e9694b5dee26e8a31 (patch) | |
| tree | f725d5221ae49be8f011a987059864aa0a8b1d33 /static | |
| parent | a3edac22517613218a1877fcdfe0f1ea10de6869 (diff) | |
Fixed profile image handling
Diffstat (limited to 'static')
| -rwxr-xr-x | static/pichat.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/static/pichat.js b/static/pichat.js index fe5beaa..826bcba 100755 --- a/static/pichat.js +++ b/static/pichat.js @@ -144,9 +144,14 @@ function initChat() { } function initProfile() { + $('.logged-dump .content').each(function() { + var t = $(this); + t.html(buildMsgContent(t.text())); + }); + var onSubmit = function(original_element, edit, old) { if (edit == old) { return old }; - // Prevent entering script tags. TODO: investigate better scheme. + // MAJOR TODO: Prevent entering script tags if (original_element == 'avatar' && edit.indexOf("<") != -1) { return old; } |
