Merge branch 'ARI-5379' into qa

This commit is contained in:
Barbara Miller 2017-07-19 15:52:00 -07:00
commit d08e5df10b
2 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@
url_regex: '^https?://pitchfork\.com/.*$'
behavior_js_template: pitchfork.js
- # https://webarchive.jira.com/browse/ARI-5379
url_regex: '^https?://pm\.gc\.ca/eng/news.*$'
url_regex: '^https?://(?:www\.)?pm\.gc\.ca/.*$'
behavior_js_template: pm-ca.js
request_idle_timeout_sec: 10
- # https://webarchive.jira.com/browse/ARI-4960

View File

@ -1,5 +1,5 @@
/*
* brozzler/behaviors.d/pm-ca.js - behavior for http://pm.gc.ca/eng/news
* brozzler/behaviors.d/pm-ca.js - behavior for http://www.pm.gc.ca/
*
* Copyright (C) 2014-2017 Internet Archive
*
@ -32,7 +32,7 @@ var umbraBehavior = {
var clickedSomething = false;
var somethingLeftBelow = false;
var somethingLeftAbove = false;
var cssSelector = "div.teaser";
var cssSelector = "div.teaser, li.pager__item a";
var clickUntilTimeout = 10;
var iframes = document.querySelectorAll("iframe");