Replace textchange with native input event

This commit is contained in:
cmrd Senya
2022-07-17 22:49:29 +03:00
parent ac39716ab4
commit 7b3ff37079
3 changed files with 11 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ $.fn.charCount = function(opts) {
counter.text(opts.allowed - count);
};
$this.on("textchange", update);
$this.on("input", update);
update();
});
};