Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal authored Aug 24, 2021
1 parent f271618 commit 1ce8754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/crm/doctype/social_media_post/social_media_post.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ frappe.ui.form.on('Social Media Post', {
},

text: function(frm) {
if (frm.doc.test) {
if (frm.doc.text) {
frm.set_df_property('text', 'description', `${frm.doc.text.length}/280`);
frm.refresh_field('text');
frm.trigger('validate_tweet_length');
Expand Down

0 comments on commit 1ce8754

Please sign in to comment.