In safari on an iPhone when you click a checkbox you get the following console error:
SyntaxError: The string did not match the expected pattern.
Here is our example:
`
`
The error is on this line: https://github.com/Polymer/polymer/blob/master/lib/utils/gestures.js#L150
` let matching = root.querySelectorAll(`label[for = ${el.id}]`);`
When that line is changed to
` let matching = root.querySelectorAll(`label[for = '${el.id}']`);`
the error does not occur
Description
In safari on an iPhone when you click a checkbox you get the following console error: SyntaxError: The string did not match the expected pattern.
Here is our example: `
` The error is on this line: https://github.com/Polymer/polymer/blob/master/lib/utils/gestures.js#L150 ` let matching = root.querySelectorAll(`label[for = ${el.id}]`);` When that line is changed to ` let matching = root.querySelectorAll(`label[for = '${el.id}']`);` the error does not occur