Skip to content

Commit f5a76a3

Browse files
committed
expand logic for msgId detection
1 parent 0dd4376 commit f5a76a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/webmail/gmail/gmail.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ webpg.gmail = {
11981198
window.content.wrappedJSObject.GLOBALS;
11991199
}
12001200
// Obtain the class list (which contains the msg ID)
1201-
msgClassList = node.className.split(" ");
1201+
msgClassList = (e.previousSibling.firstChild.classList.contains('a3s')) ? e.previousSibling.firstChild.className.split(" ") : node.className.split(" ");
12021202
if (msgClassList.hasOwnProperty(2)) {
12031203
msgID = msgClassList[2];
12041204
// Obtain the users email address

0 commit comments

Comments
 (0)