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