Commit 581326d5 authored by Kevin Stover's avatar Kevin Stover

Correcting a comment.

parent 509e16bf
Pipeline #593 passed with stage
in 1 minute and 34 seconds
......@@ -22,7 +22,7 @@ define( [], function() {
*/
maybeOpenModal: function( e ) {
e.preventDefault();
// If this isn't an ad, then early return
// If this is an ad, open the ad modal.
if ( 'ad' == this.model.get( 'type' ) ) {
// Open our jBox modal
var modal = new jBox( 'Modal', {
......@@ -34,7 +34,7 @@ define( [], function() {
} );
modal.open();
} else {
} else { // This is a template, so import it using the batch processor.
// Settings object for our batch processor
var settings = {
// Batch processor slug. Must match what we have set in our PHP settings array.
......@@ -52,7 +52,7 @@ define( [], function() {
/**
* Instantiate our batch processor.
*
* This will open the modal and present the user with content and buttons.
* This will open the modal and present the user with content.
*/
new NinjaBatchProcessor( settings );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment