Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F436068
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
611 B
Subscribers
None
View Options
diff --git a/assets/scripts/foreground.js b/assets/scripts/foreground.js
index 60a4838..7e82f41 100644
--- a/assets/scripts/foreground.js
+++ b/assets/scripts/foreground.js
@@ -1,6 +1,11 @@
jQuery(document).ready(function() {
jQuery(document).foundation();
var $title = jQuery('h3:contains(":")').text().split(":");
+
+ // Split the namespace title into a title and a label
jQuery('h3:contains(":")').html('<small class="label">' + $title[0] + '</small>' + $title[1]);
+
+ // Turn categories into labels
jQuery('#mw-normal-catlinks ul li a').addClass('label');
+
});
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 7, 2:43 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
69259
Default Alt Text
(611 B)
Attached To
rKIBA kiba-one
Event Timeline
Log In to Comment