Skip to content

Commit

Permalink
Random file changes to trigger linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Jan 8, 2024
1 parent e3dfa0b commit f66791e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion assets/js/admin-distributed-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import '../css/admin-distributed-post.css';

import jQuery from 'jquery';

const $ = jQuery;

const openLinks = document.querySelectorAll( '.open-distributor-help' );
const helpLink = document.getElementById( 'contextual-help-link' );
const distributorTab = document.querySelector( '#tab-link-distributer a' );

for ( let i = 0; i < openLinks.length; i++ ) {
jQuery( openLinks[ i ] ).on( 'click', () => {
$( openLinks[ i ] ).on( 'click', () => {
helpLink.click();
distributorTab.click();
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
class WordPressExternalConnection extends ExternalConnection {

/**
* Connection slug
* Connection slug.
*
* @var string
*/
public static $slug = 'wp';

/**
* Connection pretty label
* Connection pretty label.
*
* This is to represent the authentication method,
* not the connection type. This value was previously
Expand All @@ -44,7 +44,7 @@ class WordPressExternalConnection extends ExternalConnection {
public static $auth_handler_class = '\Distributor\Authentications\WordPressBasicAuth';

/**
* REST API namespace
* REST API namespace.
*
* @var string
*/
Expand Down

0 comments on commit f66791e

Please sign in to comment.