Remove leftover debug console.log

This commit is contained in:
Kristóf Tóth 2019-10-03 12:58:21 +02:00
parent 46fe26861c
commit d6874335cd

View File

@ -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