mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 23:30:00 -04:00
update github workflow things
This commit is contained in:
parent
cbd3fcd718
commit
0f8b43fbee
4 changed files with 10 additions and 10 deletions
|
@ -243,7 +243,7 @@ export class ScramjetClient {
|
|||
if (!sframe) {
|
||||
// we're in a subframe, recurse upward until we find one
|
||||
let currentwin = this.global.window;
|
||||
while (currentwin.parent != currentwin) {
|
||||
while (currentwin.parent !== currentwin) {
|
||||
if (!currentwin.frameElement) return null; // ??
|
||||
if (currentwin.frameElement && currentwin.frameElement[SCRAMJETFRAME]) {
|
||||
return currentwin.frameElement[SCRAMJETFRAME];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue