Skip to content

Commit

Permalink
fix padding, fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Apr 16, 2024
1 parent 1016fb3 commit 62878c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2624,7 +2624,7 @@
// TODO: manually test

function subscribeToBottomSection( submitter ) {
if ( /* preferenceIsOff */ ) {
if ( !AFCH.prefs.autoSubscribe ) {
return;
}

Expand Down
5 changes: 3 additions & 2 deletions src/templates/tpl-preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
<input type="checkbox" id="noWatch" class="afch-input" {{#noWatch}}checked{{/noWatch}} />
</div>
<div id="autoSubscribeWrapper">
<label for="autoSubscribe" class="afch-label"><a href="https://www.mediawiki.org/wiki/Help:DiscussionTools#Topic_subscriptions" target="_blank">Receive a notification</a> whenever a draft author replies to one of your user talk messages</label>
<input type="checkbox" id="autoSubscribe" class="afch-input" {{#autoSubscribe}}checked{{/autoSubscribe}} />
<label for="autoSubscribe" class="afch-label">
<a href="https://www.mediawiki.org/wiki/Help:DiscussionTools#Topic_subscriptions" target="_blank">Receive a notification</a> when a draft author replies to a user talk message you left them <input type="checkbox" id="autoSubscribe" class="afch-input" {{#autoSubscribe}}checked{{/autoSubscribe}} />
</label>
</div>
</div>
<!-- /preferences -->
Expand Down

0 comments on commit 62878c3

Please sign in to comment.