kopia lustrzana https://github.com/c9/core
Fix URL reconstruction
rodzic
a80297b6eb
commit
15108e44cd
|
@ -667,9 +667,8 @@ define(function(require, exports, module) {
|
|||
function reload(name) {
|
||||
showReloadTip();
|
||||
|
||||
var href = document.location.href.replace(/[?&]reload=[^&]+/, "")
|
||||
+ (document.location.href.match(/\?/) ? "&" : "?")
|
||||
+ "reload=" + name;
|
||||
var href = document.location.href.replace(/[?&]reload=[^&]+/, "");
|
||||
href += (href.match(/\?/) ? "&" : "?") + "reload=" + name;
|
||||
window.history.replaceState(window.history.state, null, href);
|
||||
|
||||
for (var plugin in architect.lut) {
|
||||
|
|
Ładowanie…
Reference in New Issue