(Created page with "var sourceEdit = document.getElementById('ca-edit'); if (sourceEdit) { var url = sourceEdit.getAttribute('href'); sourceEdit.setAttribute('href', url.split('&')[0]); }")
 
mNo edit summary
Line 2: Line 2:
if (sourceEdit) {
if (sourceEdit) {
  var url = sourceEdit.getAttribute('href');
  var url = sourceEdit.getAttribute('href');
  sourceEdit.setAttribute('href', url.split('&')[0]);
  sourceEdit.setAttribute('href', url.split('&section')[0]);
}
}

Revision as of 07:24, 16 February 2023

var sourceEdit = document.getElementById('ca-edit');
if (sourceEdit) {
 var url = sourceEdit.getAttribute('href');
 sourceEdit.setAttribute('href', url.split('&section')[0]);
}