mirror of
https://github.com/dolphin-emu/redmine-theme-flat.git
synced 2026-01-31 01:15:20 +01:00
Fix 'GitHub' capitalization and make website link capitalization consistent with other links (both 'website' and 'project' should probably be either capitalized or not.)
25 lines
940 B
JavaScript
25 lines
940 B
JavaScript
(function($) {
|
|
|
|
$(document).ready(function() {
|
|
var update = $('#update')
|
|
var close = $("<div>", {'class': "update-close"}).text('x');
|
|
|
|
update.prepend(close);
|
|
close.click(function() {
|
|
update.hide();
|
|
});
|
|
|
|
// toggleFieldset();
|
|
$('#update fieldset.tabular legend').click(function() {
|
|
$(this).closest('fieldset').toggleClass('show-children');
|
|
});
|
|
|
|
// add fork us on GitHub link
|
|
var menu = $("#main-menu>ul").append("<li class='float'><a href='https://dolphin-emu.org/'>Official Website</a></li>");
|
|
var menu = $("#main-menu>ul").append("<li class='float'><a href='https://github.com/dolphin-emu/dolphin'>GitHub Project</a></li>");
|
|
var menu = $("#main-menu>ul").append("<li class='float'><a href='https://forums.dolphin-emu.org/'>Forums</a></li>");
|
|
var menu = $("#main-menu>ul").append("<li class='float'><a href='https://wiki.dolphin-emu.org/'>Wiki</a></li>");
|
|
});
|
|
|
|
})(jQuery);
|