lib/assets/javascripts/unpoly/element.coffee.erb in unpoly-rails-0.61.0 vs lib/assets/javascripts/unpoly/element.coffee.erb in unpoly-rails-0.61.1
- old
+ new
@@ -125,10 +125,10 @@
and traversing up through its ancestors in the DOM tree.
@function up.element.closest
@param {Element} element
The element on which to start the search.
- @param {string}
+ @param {string} selector
The CSS selector to match.
@return {Element|null|undefined} element
The matching element.
Returns `null` or `undefined` if no element matches.