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.
1 parent cd19e7f commit a493433Copy full SHA for a493433
src/gmail.js
@@ -1582,7 +1582,7 @@ var Gmail_ = function(localJQuery) {
1582
1583
// loop through each of the inserted elements classes & check for a defined observer on that class
1584
var cn = target.className || "";
1585
- var classes = cn.trim().split(/\s+/);
+ var classes = cn.trim ? cn.trim().split(/\s+/) : [];
1586
if(!classes.length) classes.push(""); // if no class, then check for anything observing nodes with no class
1587
$.each(classes, function(idx, className) {
1588
var observer = dom_observer_map[className];
0 commit comments