Posted by BTMash on October 26, 2009 at 8:15pm
Jump to:
| Project: | Genesis |
| Version: | 6.x-2.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi there,
I tried to enable equal heights on the columns and it would not work. As I did some debugging work, I noticed that <div id="columns"> contains a div inside with the class "columns-inner" which holds the various columns. I modified the jquery code to equalize the heights on that and it works. So the diff (from my subversion repo - still the same line numbers) looks like:
Index: genesis/genesis/js/jquery.equalizeheights.js
===================================================================
--- genesis/genesis/js/jquery.equalizeheights.js (Current Version in production)
+++ genesis/genesis/js/jquery.equalizeheights.js (Working Version)
@@ -90,6 +90,6 @@
if (Drupal.jsEnabled) {
$(document).ready(function() {
- $('#columns').equalHeights();
+ $('#columns .columns-inner').equalHeights();
});
}
\ No newline at end of file
Comments
#1
cool
#2
This fixed what ailed my site; although I added the class redefinition to the minified file -- Thanks!