Remove a hash symbol from split method
This commit is contained in:
@ -233,7 +233,7 @@ window.common = (function(global) {
|
|||||||
public: true,
|
public: true,
|
||||||
files: {}
|
files: {}
|
||||||
};
|
};
|
||||||
var queryIssue = window.location.href.toString().split('#?')[0];
|
var queryIssue = window.location.href.toString().split('?')[0];
|
||||||
var filename = queryIssue
|
var filename = queryIssue
|
||||||
.substr(queryIssue.lastIndexOf('challenges/') + 11)
|
.substr(queryIssue.lastIndexOf('challenges/') + 11)
|
||||||
.replace('/', '') + '.js';
|
.replace('/', '') + '.js';
|
||||||
|
Reference in New Issue
Block a user