frontend tests: fix trailing comma in runner.js

This commit is contained in:
webzwo0i 2020-11-25 03:42:47 +01:00 committed by John McLear
parent b98aaf4904
commit 0a72459b3d
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ $(() => {
// http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
const getURLParameter = function (name) {
return decodeURI(
(RegExp(`${name}=` + '(.+?)(&|$)').exec(location.search) || [, null])[1],
(RegExp(`${name}=` + '(.+?)(&|$)').exec(location.search) || [, null])[1]
);
};