mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
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:
parent
4f14fddd2b
commit
d8658a9fb0
|
@ -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' )
|
||||
|
|
Loading…
Reference in a new issue