Skip to content

Commit

Permalink
Moved initqueue to window to avoid CORS issue in toolshed iframe (iss…
Browse files Browse the repository at this point in the history
…ue 7335)
  • Loading branch information
Nerdinacan committed Feb 8, 2019
1 parent b6a9761 commit 67fed35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/onload/initQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import { BehaviorSubject } from "rxjs";
import { filter } from "rxjs/operators";

const queue = (window.top._initQueue = new BehaviorSubject([]));
const queue = (window._initQueue = new BehaviorSubject([]));

// don't emit unless there are things to initialize
export const initializations$ = queue.pipe(filter(list => list.length > 0));
Expand Down

0 comments on commit 67fed35

Please sign in to comment.