We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 986edd7 + 81c8704 commit e54f038Copy full SHA for e54f038
src/gmail.js
@@ -361,7 +361,7 @@ var Gmail_ = function(localJQuery) {
361
var text = [];
362
363
for(var i=0; i<items.length; i++) {
364
- var mail_id = items[i].children[0].getAttribute('class').split(' ')[2];
+ var mail_id = items[i].getAttribute('class').split(' ')[2];
365
var is_editable = items[i].getAttribute('contenteditable');
366
var is_visible = items[i].offsetWidth > 0 && items[i].offsetHeight > 0;
367
if(mail_id != 'undefined' && mail_id != undefined && is_visible) {
0 commit comments