Difference between revisions 463765 and 463845 on dewikivoyage

function moveArticleStates() {
 var spacing = 10, coordPadding = 0, tagCoord, tagDoM, DoMwidth = 27;

 if (document.getElementById) {
  tagCoord = document.getElementById("geoCoord");
  tagDoM = document.getElementById("DoM");
  if (tagDoM != null) {
   coordPadding = /* tagDoM.offsetWidth */ DoMwidth + spacing;
   tagDoM.style.zIndex = 2;
  }
  if (tagCoord != null) {
   tagCoord.style.paddingRight = coordPadding + 'px';
   coordPadding += tagCoord.offsetWidth + spacing;
  }
 }
}

// addOnloadHook(moveArticleStates);
$( document ).ready( moveArticleStates() );