mirror of
https://github.com/frappe/air-datepicker.git
synced 2026-01-14 11:01:22 +08:00
added 'á' symbol to word boundary regexp, fixes #92
This commit is contained in:
parent
ea1806c4ce
commit
42f6d4c76d
2
dist/js/datepicker.js
vendored
2
dist/js/datepicker.js
vendored
@ -421,7 +421,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
_getWordBoundaryRegExp: function (sign) {
|
_getWordBoundaryRegExp: function (sign) {
|
||||||
return new RegExp('\\b(?=[a-zA-Z0-9äöüßÄÖÜ<])' + sign + '(?![>a-zA-Z0-9äöüßÄÖÜ])');
|
return new RegExp('\\b(?=[a-zA-Z0-9áäöüúÁßÉÄÖÜÚ<])' + sign + '(?![>a-zA-Z0-9áäöüÁßÉÄÖÜÚ])');
|
||||||
},
|
},
|
||||||
|
|
||||||
selectDate: function (date) {
|
selectDate: function (date) {
|
||||||
|
|||||||
2
dist/js/datepicker.min.js
vendored
2
dist/js/datepicker.min.js
vendored
File diff suppressed because one or more lines are too long
@ -421,7 +421,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
_getWordBoundaryRegExp: function (sign) {
|
_getWordBoundaryRegExp: function (sign) {
|
||||||
return new RegExp('\\b(?=[a-zA-Z0-9äöüßÄÖÜ<])' + sign + '(?![>a-zA-Z0-9äöüßÄÖÜ])');
|
return new RegExp('\\b(?=[a-zA-Z0-9áäöüúÁßÉÄÖÜÚ<])' + sign + '(?![>a-zA-Z0-9áäöüÁßÉÄÖÜÚ])');
|
||||||
},
|
},
|
||||||
|
|
||||||
selectDate: function (date) {
|
selectDate: function (date) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user