mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 05:32:55 +00:00 
			
		
		
		
	Remove leftover debug console.log
This commit is contained in:
		@@ -142,7 +142,6 @@ export class DashboardComponent implements OnInit, OnDestroy {
 | 
				
			|||||||
  iframeLoad() {
 | 
					  iframeLoad() {
 | 
				
			||||||
    if (this.webiframe && this.iframeUrl.value) {
 | 
					    if (this.webiframe && this.iframeUrl.value) {
 | 
				
			||||||
      const href = this.webiframe.nativeElement.contentWindow.frames.location.href;
 | 
					      const href = this.webiframe.nativeElement.contentWindow.frames.location.href;
 | 
				
			||||||
      console.log(href, this.webiframe.nativeElement.contentWindow);
 | 
					 | 
				
			||||||
      const match = href.match(/.*?\/\/.*?(\/.*)/);
 | 
					      const match = href.match(/.*?\/\/.*?(\/.*)/);
 | 
				
			||||||
      if (match !== null) {
 | 
					      if (match !== null) {
 | 
				
			||||||
        // iframes on Firefox can have an about:blank
 | 
					        // iframes on Firefox can have an about:blank
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user