Augmentation vers version 3.3.0
This commit is contained in:
@@ -522,7 +522,7 @@ function parseDocument($container) {
|
||||
$linksLast = $linksNotSkip.filter(filterLast), // The items that will be hidden last
|
||||
persistent = $this.attr('id') === 'nav-main', // Does this list already have a menu (such as quick-links)?
|
||||
html = '<li class="responsive-menu hidden"><a href="javascript:void(0);" class="js-responsive-menu-link responsive-menu-link"><i class="icon fa-bars fa-fw" aria-hidden="true"></i></a><div class="dropdown"><div class="pointer"><div class="pointer-inner" /></div><ul class="dropdown-contents" /></div></li>',
|
||||
slack = 3; // Vertical slack space (in pixels). Determines how sensitive the script is in determining whether a line-break has occured.
|
||||
slack = 3; // Vertical slack space (in pixels). Determines how sensitive the script is in determining whether a line-break has occurred.
|
||||
|
||||
// Add a hidden drop-down menu to each links list (except those that already have one)
|
||||
if (!persistent) {
|
||||
@@ -1102,4 +1102,13 @@ if( $('.collapse-trigger').length )
|
||||
this.slideUp(100);
|
||||
},
|
||||
});
|
||||
|
||||
// Add user icon in front of forumlist mods
|
||||
$("span.forumlist_mods a").each(function(i) {
|
||||
$(this).prepend("<i class='icon fa-shield fa-fw'></i>");
|
||||
});
|
||||
// Remove the comma seperator
|
||||
$("span.forumlist_mods").each(function() {
|
||||
$(this).html($(this).html().replace(/,/g , ''));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user