Skip to content

Commit

Permalink
WCM-1361 Get proper id when HTML Attributes and DOM Properties differ
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaStClair committed Apr 18, 2017
1 parent 139f194 commit 75be726
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@

A.all('form').each(
function(item) {
var formId = item.attr('id');
var formId = item.getAttribute('id');

if (!defaultFormExcludedIdsRegex.test(formId) && (!formExcludedIdsRegexStr || !new RegExp(formExcludedIdsRegexStr).test(formId))) {
trackingForms.push(formId);
Expand Down

0 comments on commit 75be726

Please sign in to comment.