simpler check, interval; 500

This commit is contained in:
Barbara Miller 2019-11-05 17:23:01 -08:00
parent 37e1c7ed55
commit ac4a3f9914
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,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

@ -110,7 +110,7 @@ class UmbraBehavior {
} }
} }
if (didSomething && limit && limit === i+1) { if (limit && limit == i) {
this.nextAction(); this.nextAction();
break; break;
} }