MediaWiki

Common.js: Difference between revisions

(Testing)
 
(Testing)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$('#p-Contact.has-dropdown.active.not-click > a').attr('href','https://www.writediteach.com/view/Contact');
$('p-Contact.has-dropdown.active.not-click > a').each(function() {
  var link = $(this).html();
  $(this).contents().wrap('<a href="https://www.writediteach.com/view/Contact"></a>');
});

Revision as of 19:00, 23 June 2024

/* Any JavaScript here will be loaded for all users on every page load. */
$('p-Contact.has-dropdown.active.not-click > a').each(function() {
  var link = $(this).html();
  $(this).contents().wrap('<a href="https://www.writediteach.com/view/Contact"></a>');
});