File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2389,7 +2389,7 @@ var Gmail = function(localJQuery) {
2389
2389
// loop through applicable types
2390
2390
var types = type ? [ type ] : [ "before" , "on" , "after" , "dom" ] ;
2391
2391
for ( let type of types ) {
2392
- if ( typeof api . tracker . watchdog [ type ] !== "object" ) return true ; // no callbacks for this type
2392
+ if ( typeof api . tracker . watchdog [ type ] !== "object" ) continue ; // no callbacks for this type
2393
2393
2394
2394
// if action specified, remove any callbacks for this action, otherwise remove all callbacks for all actions
2395
2395
if ( action ) {
@@ -2767,7 +2767,7 @@ var Gmail = function(localJQuery) {
2767
2767
for ( let className of classes ) {
2768
2768
var observers = dom_observer_map [ className ] ;
2769
2769
if ( ! observers ) {
2770
- return ;
2770
+ continue ;
2771
2771
}
2772
2772
2773
2773
for ( var observer of observers ) {
@@ -2779,7 +2779,7 @@ var Gmail = function(localJQuery) {
2779
2779
2780
2780
// if a config id specified for this observer, ensure it matches for this element
2781
2781
if ( config . selector && ! element . is ( config . selector ) ) {
2782
- return ;
2782
+ break ;
2783
2783
}
2784
2784
2785
2785
// check for any defined sub_selector match - if not found, then this is not a match for this observer
You can’t perform that action at this time.
0 commit comments