Fix bytelimit status update

We need to listen to the same events as bytelimit. Specifically
we were missing keyup, which meant the counter could get stuck on
-1.

Bug: 47718
Change-Id: I3d4f3f8cd451bfb6acea19ee9baae7be60adcf15
This commit is contained in:
Ed Sanders 2013-05-17 18:29:45 +01:00 committed by Catrope
parent 4f14fddd2b
commit d8658a9fb0

View file

@ -1105,7 +1105,7 @@ ve.init.mw.ViewPageTarget.prototype.setupSaveDialog = function () {
've-init-mw-viewPageTarget-saveDialog-summary-focused'
);
},
'keydown mouseup cut paste change focus blur': function () {
'keyup keydown mouseup cut paste change focus blur': function () {
var $textarea = $(this),
$editSummaryCount = $textarea
.closest( '.ve-init-mw-viewPageTarget-saveDialog-slide-save' )