Fixed lint.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2021-02-08 21:11:13 +02:00
parent d57eb6a2fc
commit 60fedad3fe
3 changed files with 31 additions and 19 deletions

View file

@ -274,7 +274,7 @@ Template.changeSettingsPopup.events({
'keypress/paste #show-cards-count-at'() {
let keyCode = event.keyCode;
let charCode = String.fromCharCode(keyCode);
let regex = new RegExp("[-0-9]");
let regex = new RegExp('[-0-9]');
let ret = regex.test(charCode);
return ret;
},