mirror of
https://github.com/wekan/wekan.git
synced 2025-12-23 10:50:13 +01:00
Fixed lint.
Thanks to xet7 !
This commit is contained in:
parent
d57eb6a2fc
commit
60fedad3fe
3 changed files with 31 additions and 19 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue