using parent() is more robust than prev() in jQuery
robertDouglass - November 3, 2009 - 12:29
| Project: | Apache Solr Search Integration |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Theme might put stuff before the show more link, but wouldn't likely change the parent. So this patch swaps out prev() and replaces with parent().
| Attachment | Size |
|---|---|
| apachesolr-parent.patch | 1.09 KB |

#1
Applied to DRUPAL-6--2, DRUPAL-6--1, DRUPAL-5--2.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.