Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F408485
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
View Options
diff --git a/assets/scripts/foreground.js b/assets/scripts/foreground.js
index 11d458b..d2a8e99 100644
--- a/assets/scripts/foreground.js
+++ b/assets/scripts/foreground.js
@@ -1,37 +1,38 @@
jQuery(document).ready(function() {
// Add the 'less than IE9' class to appropriate version of IE by checking for their support of cssFloat (true in v9)
if (!jQuery.support.cssFloat) { jQuery('html').addClass('lt-ie9').addClass('no-js'); }
jQuery(document).foundation(function (response) {
console.log(response.errors);
});
jQuery('[id^=ca-nstab] a').addClass('icon-file').text(' ' + jQuery('[id^=ca-nstab] a').text());
jQuery('li#ca-talk a').addClass('icon-comments').text(' ' + jQuery('li#ca-talk a').text());
jQuery('li#ca-edit a').addClass('icon-edit').text(' ' + jQuery('li#ca-edit a').text());
+ jQuery('li#ca-viewsource a').addClass('icon-book').text(' ' + jQuery('li#ca-viewsource a').text());
jQuery('li#ca-form_edit a').addClass('icon-edit-sign').text(' ' + jQuery('li#ca-form_edit a').text());
jQuery('li#ca-history a').addClass('icon-archive').text(' ' + jQuery('li#ca-history a').text());
jQuery('li#ca-delete a').addClass('icon-remove').text(' ' + jQuery('li#ca-delete a').text());
jQuery('li#ca-move a').addClass('icon-truck').text(' ' + jQuery('li#ca-move a').text());
jQuery('li#ca-protect a').addClass('icon-shield').text(' ' + jQuery('li#ca-protect a').text());
jQuery('li#ca-unprotect a').addClass('icon-shield').text(' ' + jQuery('li#ca-unprotect a').text());
jQuery('li#ca-watch a').addClass('icon-star-empty').text(' ' + jQuery('li#ca-watch a').text());
jQuery('li#ca-unwatch a').addClass('icon-star').text(' ' + jQuery('li#ca-unwatch a').text());
jQuery('li#ca-purge a').addClass('icon-refresh').text(' ' + jQuery('li#ca-purge a').text());
jQuery('li#t-smwbrowselink a').addClass('icon-eye-open').text(' ' + jQuery('li#t-smwbrowselink a').text());
// Turn categories into labels
jQuery('#mw-normal-catlinks ul li a').addClass('label');
// Make the Page Action button respond to hover
jQuery('a.button.dropdown').mouseenter(function(){
jQuery('ul#drop1').addClass('open').addClass('right').css('top', '32px').css('left', '785px');
});
jQuery('ul#drop1').mouseleave(function(){
jQuery('ul#drop1').removeClass('open').css('top', '-9999px').css('left', '785px');
});
});
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jun 9, 3:04 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46240
Default Alt Text
(2 KB)
Attached To
rKIBA kiba-one
Event Timeline
Log In to Comment