We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c522ce commit 6b5d9abCopy full SHA for 6b5d9ab
1 file changed
www/googlemaps-cdv-plugin.js
@@ -1924,8 +1924,8 @@ function isHTMLColorString(inputValue) {
1924
inputValue.match(/^#[0-9A-F]{4}$/i) ||
1925
inputValue.match(/^#[0-9A-F]{6}$/i) ||
1926
inputValue.match(/^#[0-9A-F]{8}$/i) ||
1927
- inputValue.match(/^rgba\([\d,.\s]+\)$/) ||
1928
- inputValue.match(/^hsla\([\d%,.\s]+\)$/)) {
+ inputValue.match(/^rgba?\([\d,.\s]+\)$/) ||
+ inputValue.match(/^hsla?\([\d%,.\s]+\)$/)) {
1929
return true;
1930
}
1931
0 commit comments