|
@@ -1,9 +1,8 @@
|
|
jQuery(document).ready(function() {
|
|
jQuery(document).ready(function() {
|
|
jQuery(document).foundation();
|
|
jQuery(document).foundation();
|
|
- var $title = jQuery('h3:contains(":")').text().split(":");
|
|
|
|
-
|
|
|
|
// Split the namespace title into a title and a label
|
|
// Split the namespace title into a title and a label
|
|
- jQuery('h3:contains(":")').html('<small class="label">' + $title[0] + '</small>' + $title[1]);
|
|
|
|
|
|
+ var $title = jQuery('h2:not(:contains("\""))').jQuery('h2:contains(":")').text().split(":");
|
|
|
|
+ jQuery('h2:not(:contains("\""))').jQuery('h2:contains(":")').html('<small class="label">' + $title[0] + '</small><div class="clear_both"></div>' + $title[1]);
|
|
|
|
|
|
// Turn categories into labels
|
|
// Turn categories into labels
|
|
jQuery('#mw-normal-catlinks ul li a').addClass('label');
|
|
jQuery('#mw-normal-catlinks ul li a').addClass('label');
|