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/.*$'
behavior_js_template: umbraBehavior.js.j2
default_parameters:
interval: 500
actions:
- selector: .glyphsSpriteGrey_Close
rmSelector: '.RnEpo'

View File

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