Skip to content

Commit

Permalink
remove outdated eslint directive (#445)
Browse files Browse the repository at this point in the history
No longer needed
  • Loading branch information
redbluegreenhat authored Jan 31, 2024
1 parent 56418d9 commit 1cba1ff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/ext.managewiki.oouiform.tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
var hash = location.hash;
if ( hash.match( /^#mw-[\w-]+/ ) ) {
detectHash();
/*
* The next comment makes eslint ignore possible timing attacks when checking if the hash is an empty string
* as this is not something you need a constant-time comparison for
*/
// eslint-disable-next-line security/detect-possible-timing-attacks
} else if ( hash === '' ) {
switchManageWikiTab( $( '[id*=mw-section-]' ).attr( 'id' ), true );
}
Expand Down

0 comments on commit 1cba1ff

Please sign in to comment.