File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ class RecPopup extends LitElement
107107 switch ( message . type ) {
108108 case "status" :
109109 this . recording = message . recording ;
110- this . waitingForStart = ! message . firstPageStarted ;
110+ if ( this . waitingForStart && message . firstPageStarted ) {
111+ this . waitingForStart = false ;
112+ }
111113 this . status = message ;
112114 if ( message . pageUrl ) {
113115 this . pageUrl = message . pageUrl ;
Original file line number Diff line number Diff line change @@ -553,10 +553,6 @@ class Recorder {
553553 this . fullCommit ( reqresp , sessions ) ;
554554 }
555555
556- if ( ! this . firstPageStarted ) {
557- this . initFirstPage ( ) ;
558- }
559-
560556 return true ;
561557 }
562558
@@ -586,6 +582,10 @@ class Recorder {
586582 this . _fetchUrls . clear ( ) ;
587583
588584 this . _pdfTextDone = null ;
585+
586+ if ( ! this . firstPageStarted ) {
587+ this . initFirstPage ( ) ;
588+ }
589589 }
590590
591591 loadFavIcon ( favIconUrl , sessions ) {
You can’t perform that action at this time.
0 commit comments