Difference between revisions of "MediaWiki:Common.js"

From OpenMBD
Jump to: navigation, search
Line 19: Line 19:
 
span.fancytree-title a {
 
span.fancytree-title a {
 
     color: black;
 
     color: black;
}
+
};
  
 
$(document).ready( function() {
 
$(document).ready( function() {

Revision as of 10:25, 23 March 2017

/* Any JavaScript here will be loaded for all users on every page load. */

.fancytree ul {
    background: none;
    border: none;
    font-size: 12px;
}
ul.fancytree-container {
    outline: 0;
    border: none;
    overflow: hidden;
}
.fancytree p {
    display: none;
}
span.fancytree-title {
    cursor: default;
}
span.fancytree-title a {
    color: black;
};

$(document).ready( function() {
  var tree = $('#wikitext-sidebar');
  $('#p-tb').after( tree.html() );
  tree.remove();
});