Skip to content

Commit

Permalink
change "reloaded automatically" to "reload" (wikimedia-gadgets#345)
Browse files Browse the repository at this point in the history
It doesn't auto refresh the page for you, so is factually incorrect.
  • Loading branch information
NovemLinguae authored Apr 23, 2024
1 parent 157a1d0 commit b907dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@

// Also, automagically reload the page in place
$( '#mw-content-text' ).load( AFCH.consts.pagelink + ' #mw-content-text', function () {
$afch.find( '#reloadLink' ).text( '(reloaded automatically)' );
$afch.find( '#reloadLink' ).text( '(reload)' );
// Fire the hook for new page content
mw.hook( 'wikipage.content' ).fire( $( '#mw-content-text' ) );
} );
Expand Down

0 comments on commit b907dca

Please sign in to comment.