simple multi-selector test with window.scroll

This commit is contained in:
Barbara Miller 2017-12-08 13:42:54 -08:00
parent ff08815fce
commit 19349702b9
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@
default_parameters:
actions:
- selector: a#get_more
- selector: a#get_more
- # acalog https://webarchive.jira.com/browse/ARI-3775
url_regex: '^https?://.*[?&]catoid=[^?]*$'
behavior_js_template: simpleclicks.js.j2

View File

@ -101,6 +101,7 @@ class UmbraBehavior {
console.log("ready for next action"); // untested!
this.index += 1;
this.idleSince = null;
window.scroll(0,0);
}
}
}