Skip to content

Commit ec2bd15

Browse files
author
martgil
committed
wip: replace .ready() with shorthand jQuery(function() { })
1 parent eb994d0 commit ec2bd15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/js/content_scripts/webmail/gmail/gmail-element-replacer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class GmailElementReplacer extends WebmailElementReplacer {
150150
};
151151

152152
public setupSecureActionsOnGmailMenu = () => {
153-
$(document).ready(() => {
153+
$(() => {
154154
const targetSelector = '.b7.J-M';
155155
const observer = new MutationObserver(() => {
156156
const $element = $(targetSelector);

0 commit comments

Comments
 (0)