mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Remove unnecessary escape character
http://eslint.org/docs/rules/no-useless-escape
This commit is contained in:
parent
48fddcb7bd
commit
f4f339c4d5
@ -116,7 +116,7 @@ function setupFileSystem(backend)
|
||||
* Retrieve the value of the given GET parameter.
|
||||
*/
|
||||
function getParam(name) {
|
||||
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
|
||||
var results = new RegExp('[?&]' + name + '=([^&#]*)').exec(window.location.href);
|
||||
if (results) {
|
||||
return results[1] || null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user