summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/js/pichat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 888e93b..d6af36f 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -445,7 +445,7 @@ function activateProfileEditable() {
return escapeHtml(newVal);
};
- if ($('#avatar.editable').length > 0)
+ if ($('#avatar-editing').length > 0)
setupUploadAvatar('upload');
var textareaOpts = { 'default_text': 'Enter here!',