MediaWiki:Common.js: Difference between revisions
From Iskomunidad
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
$('#toc ul').css('display', 'none'); | $('#toc ul').css('display', 'none'); | ||
$('.togglelink').text('show'); | $('.togglelink').text('show'); | ||
$('#site-tools ul').append("<li><a href='https://iskomunidad.upd.edu.ph/flipbook/'>Flipbook</li>"); | $('#site-tools ul').append("<li><a href='https://iskomunidad.upd.edu.ph/flipbook/' target='_blank'>Flipbook</li>"); | ||
}); | }); |
Revision as of 11:34, 28 January 2021
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function(){
$('#toc').addClass('tochidden');
$('#toc ul').css('display', 'none');
$('.togglelink').text('show');
});
$(window).on('load', function(){
$('#toc').addClass('tochidden');
$('#toc ul').css('display', 'none');
$('.togglelink').text('show');
$('#site-tools ul').append("<li><a href='https://iskomunidad.upd.edu.ph/flipbook/' target='_blank'>Flipbook</li>");
});