$toolbar = $( '#toolbar' );
for ( i = 0; i < queue.length; i++ ) {
- button = queue[i];
+ button = queue[ i ];
if ( $.isArray( button ) ) {
// Forwarded arguments array from mw.toolbar.addButton
insertButton.apply( toolbar, button );
// This causes further calls to addButton to go to insertion directly
// instead of to the queue.
// It is important that this is after the one and only loop through
- // the the queue
+ // the queue
isReady = true;
// Apply to dynamically created textboxes as well as normal ones