Difference between revisions of "MediaWiki:Common.js"

From Johnisdead Wiki
Jump to navigation Jump to search
(Created page with "$('.expand-button').on('click', function(){ $('.special-text').toggleClass('-expanded'); if ($('.special-text').hasClass('-expanded')) { $('.expand-button').html('Collapse Co...")
 
(Blanked the page)
Tag: Blanking
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
$('.expand-button').on('click', function(){
+
 
$('.special-text').toggleClass('-expanded');
 
if ($('.special-text').hasClass('-expanded')) {
 
$('.expand-button').html('Collapse Content');
 
} else {
 
$('.expand-button').html('Continue Reading');
 
}
 
});
 

Latest revision as of 14:24, 19 September 2024