diff --git a/src/response-targets/response-targets.js b/src/response-targets/response-targets.js index 01e1285..26fffc3 100644 --- a/src/response-targets/response-targets.js +++ b/src/response-targets/response-targets.js @@ -29,13 +29,13 @@ var attrPossibilities = [ respCode, - respCode.substr(0, 2) + '*', - respCode.substr(0, 2) + 'x', + respCode.substring(0, 2) + '*', + respCode.substring(0, 2) + 'x', - respCode.substr(0, 1) + '*', - respCode.substr(0, 1) + 'x', - respCode.substr(0, 1) + '**', - respCode.substr(0, 1) + 'xx', + respCode.substring(0, 1) + '*', + respCode.substring(0, 1) + 'x', + respCode.substring(0, 1) + '**', + respCode.substring(0, 1) + 'xx', '*', 'x',