summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/media/controllers/embed.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/media/controllers/embed.js')
-rw-r--r--src/js/media/controllers/embed.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/js/media/controllers/embed.js b/src/js/media/controllers/embed.js
index 2b271dcd0a..d6614ed24d 100644
--- a/src/js/media/controllers/embed.js
+++ b/src/js/media/controllers/embed.js
@@ -63,9 +63,11 @@ Embed = wp.media.controller.State.extend(/** @lends wp.media.controller.Embed.pr
scanners: []
};
- // Scan is triggered with the list of `attributes` to set on the
- // state, useful for the 'type' attribute and 'scanners' attribute,
- // an array of promise objects for asynchronous scan operations.
+ /*
+ * Scan is triggered with the list of `attributes` to set on the
+ * state, useful for the 'type' attribute and 'scanners' attribute,
+ * an array of promise objects for asynchronous scan operations.
+ */
if ( this.props.get('url') ) {
this.trigger( 'scan', attributes );
}