Created
April 16, 2015 17:20
-
-
Save aastrong/0d6fa09a7cbd9bbe1884 to your computer and use it in GitHub Desktop.
Fix sorting for wetkit bootstrap horizontal tabs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc b/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc | |
index f3ca6e8..f316a25 100644 | |
--- a/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc | |
+++ b/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc | |
@@ -41,9 +41,7 @@ function theme_wetkit_bootstrapx_bootstrap_horiz_styles_render_region($vars) { | |
$content[$pane_title] = array('#markup' => '<details id="details-pane-' . $pane_id . '" class="tab-pane">' . '<summary>' . $pane_title . '</summary>' . $pane . '</details>'); | |
} | |
- arsort($content); | |
- $first = array_shift($content); | |
- $content[] = $first; | |
+ | |
$output .= drupal_render($content); | |
// End Panes output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment