Skip to content

Commit 6b5d9ab

Browse files
committed
Update googlemaps-cdv-plugin.js
1 parent 7c522ce commit 6b5d9ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

www/googlemaps-cdv-plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,8 +1924,8 @@ function isHTMLColorString(inputValue) {
19241924
inputValue.match(/^#[0-9A-F]{4}$/i) ||
19251925
inputValue.match(/^#[0-9A-F]{6}$/i) ||
19261926
inputValue.match(/^#[0-9A-F]{8}$/i) ||
1927-
inputValue.match(/^rgba\([\d,.\s]+\)$/) ||
1928-
inputValue.match(/^hsla\([\d%,.\s]+\)$/)) {
1927+
inputValue.match(/^rgba?\([\d,.\s]+\)$/) ||
1928+
inputValue.match(/^hsla?\([\d%,.\s]+\)$/)) {
19291929
return true;
19301930
}
19311931

0 commit comments

Comments
 (0)