Merge branch 'ARI-5995-tidied' into qa

This commit is contained in:
Barbara Miller 2019-11-05 17:43:32 -08:00
commit b4d9b6d20b
2 changed files with 5 additions and 0 deletions

View file

@ -39,6 +39,7 @@
url_regex: '^https?://(?:www\.)?instagram\.com/.*$' url_regex: '^https?://(?:www\.)?instagram\.com/.*$'
behavior_js_template: umbraBehavior.js.j2 behavior_js_template: umbraBehavior.js.j2
default_parameters: default_parameters:
interval: 500
actions: actions:
- selector: .glyphsSpriteGrey_Close - selector: .glyphsSpriteGrey_Close
rmSelector: '.RnEpo' rmSelector: '.RnEpo'

View file

@ -109,6 +109,10 @@ class UmbraBehavior {
somethingLeftAbove = true; somethingLeftAbove = true;
} }
} }
if (limit && limit == i) {
this.nextAction();
break;
}
} }
if (!didSomething) { if (!didSomething) {