Skip to content

Commit

Permalink
fixed popout link, enabled rewind.
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyGermaneri committed Jan 9, 2024
1 parent c83923a commit 9c2b588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/CodeEditor/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export default {
this.$emit('close');
const url = `${this.pathPrefix}popout-editor/${this.graphId}/${this.nodeId}/${this.templateType}/${this.language}`;
const host = /^localhost:?/.test(window.location.host) ? (window.location.protocol
+ '//' + window.location.host) : '/';
+ '//' + window.location.host) : '';
this.win = window.open(host + url, this.storeKey,
`popup,width=${this.width},height=${this.width},top=${this.top},left=${this.left}`);
for (let x = 500; x < 3000; x += 500) {
Expand Down
2 changes: 1 addition & 1 deletion packages/Rewind/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export default class GraphRewind extends EditorModule {
divider: true,
});
// this really isn't working well
// graphOrchestratorStore.addPlugin(rewindPluginIcon);
graphOrchestratorStore.addPlugin(rewindPluginIcon);
}
};

0 comments on commit 9c2b588

Please sign in to comment.