vendor/assets/javascripts/webshims/shims/details.js in webshims-rails-1.12.0 vs vendor/assets/javascripts/webshims/shims/details.js in webshims-rails-1.12.2
- old
+ new
@@ -3,10 +3,10 @@
var details = $(summary).parent('details');
if(details[0] && details.children(':first').get(0) === summary){
return details;
}
};
-
+
var bindDetailsSummary = function(summary, details){
summary = $(summary);
details = $(details);
var oldSummary = $.data(details[0], 'summaryElement');
$.data(summary[0], 'detailsElement', details);