mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:21:31 +00:00
Remove leftover debug console.log
This commit is contained in:
parent
46fe26861c
commit
d6874335cd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user