Project

General

Profile

Revision 28a495a8

ID28a495a8a550745000650b7d4cf453f0653918ad
Parent 614de592
Child e4939695

Added by Andreas Kohlbecker over 5 years ago

#5852 hide the children also on clicks out site of the list (for mobile devices)

View differences:

modules/cdm_dataportal/js/jquery.cdm.taxonomic_children.js
194 194
          this.removeClass(this.options.hoverClass);
195 195
        }
196 196
      );
197

  
197
      
198 198
      plugin.container.mouseleave(function (){
199 199
        plugin.hideChildren.call(plugin);
200 200
      });
201

  
202
      $(document).click(function (){
203
        plugin.hideChildren.call(plugin);
204
      });
205

  
201 206
    },
202 207

  
203 208
    // Unbind events that trigger methods

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)