userscript/origin: update request card column xpath.

This commit is contained in:
Jimmy Berry 2019-08-16 14:44:27 -05:00
parent d73531de78
commit 941859bc3c

View File

@ -38,7 +38,7 @@ function request_actions_handle() {
// Select the side column containing build results.
var column = document.evaluate(
'//div[@class="row"][2]/div[@class="col-md-4"]',
'div[@class="row"][2]//div[@class="card" and div[@data-buildresult-url]]',
action, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
// Select the text represtation of action. All other sources are