summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/customize-selective-refresh.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
commit0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch)
treee139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/js/customize-selective-refresh.js
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-upstream/6.6.1+dfsg1.tar.xz
wordpress-upstream/6.6.1+dfsg1.zip
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/js/customize-selective-refresh.js')
-rw-r--r--wp-includes/js/customize-selective-refresh.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-includes/js/customize-selective-refresh.js b/wp-includes/js/customize-selective-refresh.js
index 2967d45..6744361 100644
--- a/wp-includes/js/customize-selective-refresh.js
+++ b/wp-includes/js/customize-selective-refresh.js
@@ -429,7 +429,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
}
/* jshint ignore:start */
- self.orginalDocumentWrite = document.write;
+ self.originalDocumentWrite = document.write;
document.write = function() {
throw new Error( self.data.l10n.badDocumentWrite );
};
@@ -473,8 +473,8 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
partial.fallback( error, [ placement ] );
}
/* jshint ignore:start */
- document.write = self.orginalDocumentWrite;
- self.orginalDocumentWrite = null;
+ document.write = self.originalDocumentWrite;
+ self.originalDocumentWrite = null;
/* jshint ignore:end */
partial.createEditShortcutForPlacement( placement );
@@ -673,7 +673,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
self._pendingPartialRequests = {};
/**
- * Timeout ID for the current requesr, or null if no request is current.
+ * Timeout ID for the current request, or null if no request is current.
*
* @since 4.5.0
* @type {number|null}