Issue #1419968 by nod_, tim.plunkett, droplet, cosmicdreams: Replace $('selector', domelement) with $(domelement).find('selector').
							parent
							
								
									3102ae42c1
								
							
						
					
					
						commit
						fd9a2104d0
					
				| 
						 | 
				
			
			@ -527,7 +527,7 @@ $(document).bind('state:checked', function(e) {
 | 
			
		|||
$(document).bind('state:collapsed', function(e) {
 | 
			
		||||
  if (e.trigger) {
 | 
			
		||||
    if ($(e.target).is('.collapsed') !== e.value) {
 | 
			
		||||
      $(e.target).find$('> legend a').click();
 | 
			
		||||
      $(e.target).find('> legend a').click();
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ Drupal.contextualLinks = Drupal.contextualLinks || {};
 | 
			
		|||
 */
 | 
			
		||||
Drupal.behaviors.contextualLinks = {
 | 
			
		||||
  attach: function (context) {
 | 
			
		||||
    $(context).find('div.contextual-links-wrapper').once('contextual-links', function () {
 | 
			
		||||
    $(context).find('div.contextual').once('contextual-links', function () {
 | 
			
		||||
      var $wrapper = $(this);
 | 
			
		||||
      var $region = $wrapper.closest('.contextual-region');
 | 
			
		||||
      var $links = $wrapper.find('ul');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue