diff --git a/assets/src/admin/paired-browsing/app.js b/assets/src/admin/paired-browsing/app.js index 62c35a08800..f52dac52365 100644 --- a/assets/src/admin/paired-browsing/app.js +++ b/assets/src/admin/paired-browsing/app.js @@ -31,13 +31,6 @@ class PairedBrowsingApp { */ ampIframe; - /** - * Whether the AMP window is loading. - * - * @type {boolean} - */ - ampWindowLoading = false; - /** * Non-AMP IFrame * @@ -45,13 +38,6 @@ class PairedBrowsingApp { */ nonAmpIframe; - /** - * Whether the non-AMP window is loading. - * - * @type {boolean} - */ - nonAmpWindowLoading = false; - /** * Current AMP URL. * @@ -325,12 +311,6 @@ class PairedBrowsingApp { replaceLocation( iframe, url ) { // @todo If disconneted we canot send the replaceLocation message. - if ( iframe === this.ampIframe ) { - this.ampWindowLoading = true; - } else { - this.nonAmpWindowLoading = true; - } - this.sendMessage( iframe.contentWindow, 'replaceLocation', @@ -456,12 +436,6 @@ class PairedBrowsingApp { return; } - if ( isAmpSource ) { - this.ampWindowLoading = false; - } else { - this.nonAmpWindowLoading = false; - } - document.title = documentTitlePrefix + ' ' + documentTitle; history.replaceState(