JS: Ignore ids startings w/ form_ in getCSSPath

protectId makes ids change over subsequent requests.
This commit is contained in:
Eric Lippmann 2016-01-18 13:27:02 +01:00
parent a65398d5c9
commit ebab4e8473
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@
while (true) {
var id = $node.attr('id');
if (typeof id !== 'undefined') {
if (typeof id !== 'undefined' && id.indexOf('form_') !== 0) {
path.push('#' + id);
break;
}