mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
Remove a hash symbol from split method
This commit is contained in:
parent
3b140bc813
commit
b5ce9ca6fc
@ -233,7 +233,7 @@ window.common = (function(global) {
|
||||
public: true,
|
||||
files: {}
|
||||
};
|
||||
var queryIssue = window.location.href.toString().split('#?')[0];
|
||||
var queryIssue = window.location.href.toString().split('?')[0];
|
||||
var filename = queryIssue
|
||||
.substr(queryIssue.lastIndexOf('challenges/') + 11)
|
||||
.replace('/', '') + '.js';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user