MediaWiki:Mobile.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (1 revision imported)
No edit summary
Line 91: Line 91:


     // Intercept clicks on disabled links
     // Intercept clicks on disabled links
$(".header-authors-title a, .header-community a, .header-people a, .people a, .type a").click(function(event) {
$(".header-authors a, .header-community a, .header-people a, .people a, .type a").click(function(event) {
event.preventDefault(); // Prevent default action (following the link)
event.preventDefault(); // Prevent default action (following the link)
openCustomPopup();
openCustomPopup();

Navigation menu