Skip to content

Commit 51a86eb

Browse files
committed
Merge pull request #575 from Martii/changeEventCaptureForTabs
Change event capture for reply box and reminders Auto-merge
2 parents 673278e + 1be2605 commit 51a86eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

views/includes/scripts/commentReplyScript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
var handler = fireIfElementVisible($('#show-reply-form-when-visible'), callback);
7474

7575
// jQuery
76-
$(window).on('DOMContentLoaded load resize scroll', handler);
76+
$(window).on('focus resize scroll', handler);
7777

7878
})();
7979
</script>

views/includes/scripts/hideReminders.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
var handler = fireIfElementVisible($('.reminders'), callback);
4040

41-
$(window).on('DOMContentLoaded load resize scroll', handler);
41+
$(window).on('focus resize scroll', handler);
4242

4343
})();
4444
</script>

0 commit comments

Comments
 (0)