mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 09:57:36 +03:00 
			
		
		
		
	Update ripples.js to pass travis validation
This commit is contained in:
		
							parent
							
								
									27d1a7a8e5
								
							
						
					
					
						commit
						789d3517db
					
				| 
						 | 
					@ -127,7 +127,7 @@
 | 
				
			||||||
       * Call the rippleEnd function when the transition "on" ends
 | 
					       * Call the rippleEnd function when the transition "on" ends
 | 
				
			||||||
       */
 | 
					       */
 | 
				
			||||||
      setTimeout(function() {
 | 
					      setTimeout(function() {
 | 
				
			||||||
        self.rippleEnd($ripple)
 | 
					        self.rippleEnd($ripple);
 | 
				
			||||||
      }, 500);
 | 
					      }, 500);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -181,7 +181,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return false;
 | 
					      return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
| 
						 | 
					@ -209,7 +209,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return false;
 | 
					      return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
| 
						 | 
					@ -260,7 +260,7 @@
 | 
				
			||||||
    if($ripple.data("mousedown") === "off") {
 | 
					    if($ripple.data("mousedown") === "off") {
 | 
				
			||||||
      self.rippleOut($ripple);
 | 
					      self.rippleOut($ripple);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
| 
						 | 
					@ -321,9 +321,9 @@
 | 
				
			||||||
  $.fn.ripples = function(options) {
 | 
					  $.fn.ripples = function(options) {
 | 
				
			||||||
    return this.each(function() {
 | 
					    return this.each(function() {
 | 
				
			||||||
      if(!$.data(this, "plugin_" + ripples)) {
 | 
					      if(!$.data(this, "plugin_" + ripples)) {
 | 
				
			||||||
        $.data(this, "plugin_" + ripples, new Ripples(this, options))
 | 
					        $.data(this, "plugin_" + ripples, new Ripples(this, options));
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  }
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
})(jQuery, window, document);
 | 
					})(jQuery, window, document);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user