File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
source/v2/phasereditor/phasereditor.scene.ui.editor.html/html Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,8 @@ namespace PhaserEditor2D {
213
213
214
214
private onReloadPage ( ) {
215
215
this . _socket . close ( ) ;
216
- window . location . reload ( ) ;
216
+ // window.location.reload();
217
+ window . location . href = window . location . href ;
217
218
}
218
219
219
220
private onUpdateSceneProperties ( msg : any ) {
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ var PhaserEditor2D;
157
157
} ;
158
158
Editor . prototype . onReloadPage = function ( ) {
159
159
this . _socket . close ( ) ;
160
- window . location . reload ( ) ;
160
+ window . location . href = window . location . href ;
161
161
} ;
162
162
Editor . prototype . onUpdateSceneProperties = function ( msg ) {
163
163
this . sceneProperties = msg . sceneProperties ;
You can’t perform that action at this time.
0 commit comments