forked from GNUsocial/gnu-social
Resetting counter after a notice submit
This commit is contained in:
parent
d16a989f49
commit
728ead7992
@ -201,7 +201,7 @@ var SN = { // StatusNet
|
||||
}
|
||||
else {
|
||||
SN.C.I.NoticeDataText.val('');
|
||||
// SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax);
|
||||
SN.U.Counter();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -242,7 +242,7 @@ var SN = { // StatusNet
|
||||
$('#'+SN.C.S.NoticeDataText).val('');
|
||||
$('#'+SN.C.S.NoticeDataAttach).val('');
|
||||
$('#'+SN.C.S.NoticeInReplyTo).val('');
|
||||
// SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax);
|
||||
SN.U.Counter();
|
||||
}
|
||||
},
|
||||
complete: function(xhr, textStatus) {
|
||||
|
Loading…
Reference in New Issue
Block a user