diff --git a/brozzler/js-templates/umbraBehavior.js.j2 b/brozzler/js-templates/umbraBehavior.js.j2 index 7b3e46b..3b1e4ae 100644 --- a/brozzler/js-templates/umbraBehavior.js.j2 +++ b/brozzler/js-templates/umbraBehavior.js.j2 @@ -33,7 +33,7 @@ class UmbraBehavior { // should match older default and simpleclicks behavior, and more var k = this.index; var selector = this.actions[k].selector; - var idCheck = this.actions[k].idcheck === false ? this.actions[k].idcheck : true; + var noIDCheck = this.actions[k].noIDcheck ? this.actions[k].noIDcheck : false; var action = this.actions[k].do ? this.actions[k].do : 'click'; var closeSelector = this.actions[k].closeSelector ? this.actions[k].closeSelector : null; var didSomething = false; @@ -63,7 +63,7 @@ class UmbraBehavior { continue; } for ( var i = 0; i < doTargetsLength; i++) { - if (idCheck && this.alreadyDone.indexOf(doTargets[i]) > -1) { + if (not noIDCheck && this.alreadyDone.indexOf(doTargets[i]) > -1) { continue; } if (!this.isVisible(doTargets[i])) {