mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
frontend tests: fix trailing comma in runner.js
This commit is contained in:
parent
b98aaf4904
commit
0a72459b3d
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ $(() => {
|
||||||
// http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
|
// http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
|
||||||
const getURLParameter = function (name) {
|
const getURLParameter = function (name) {
|
||||||
return decodeURI(
|
return decodeURI(
|
||||||
(RegExp(`${name}=` + '(.+?)(&|$)').exec(location.search) || [, null])[1],
|
(RegExp(`${name}=` + '(.+?)(&|$)').exec(location.search) || [, null])[1]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue