summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/js/pichat.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 46ae121..9ffcae1 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -445,14 +445,7 @@ function activateProfileEditable() {
return escapeHtml(newVal);
};
- var avatarOpts = { 'default_text': 'Paste URL here!',
- 'callback': onSubmit,
- 'field_type': 'text',
- 'callbackShowErrors': false };
- if ($('#avatar.editable').length > 0) {
- $('#avatar.editable').editInPlace(avatarOpts);
- setupUploadAvatar('upload');
- }
+ setupUploadAvatar('upload');
var textareaOpts = { 'default_text': 'Enter here!',
'callback': onSubmit,