Skip to content

Commit 6f7e96e

Browse files
author
Martii
committed
Browser compatibility fix for Chromium/Chrome based browsers and Opera Presto
* `focus` event doesn't appear to be handled properly in two other browsers so reverting comment reply box handler event... this may invalidate #575 in browsers that handle this incorrectly. `activate` and `create` do nothing additional in tested browsers... Mozilla rules again. ;) * Restores ability to comment in those tested browsers without scroll and resize
1 parent 51a86eb commit 6f7e96e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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('focus resize scroll', handler);
76+
$(window).on('DOMContentLoaded load resize scroll', handler);
7777

7878
})();
7979
</script>

0 commit comments

Comments
 (0)