MediaWiki

Important: The status of the COVID-19 crisis constantly changes. The information in this resource is updated frequently.
 Actions

Difference between revisions of "Common.js"

From Navigating COVID-19

Line 13: Line 13:
 
   document.getElementById('ca-history').style = "display: inline !important;";
 
   document.getElementById('ca-history').style = "display: inline !important;";
 
   document.getElementById('p-Editor_Tools').style = "display: block;"
 
   document.getElementById('p-Editor_Tools').style = "display: block;"
   // document.getElementById('p-tb').style = "display: block !important;"
+
if(document.getElementById('p-tb') != null) {
 +
   document.getElementById('p-tb').style = "display: block !important;"
 +
}
 
}
 
}
 
//document.getElementsByClassName("mw-wiki-logo")[0].href = "https://www.sullivanattorneys.com";
 
//document.getElementsByClassName("mw-wiki-logo")[0].href = "https://www.sullivanattorneys.com";

Revision as of 17:49, 21 April 2020

/* Any JavaScript here will be loaded for all users on every page load. */

(function ()
{
	var script = document.createElement('script');
	script.src = 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
	script.async = true;
	document.getElementsByTagName('head')[0].appendChild(script);
 }
) ();

if(document.getElementById('pt-logout') != null) {
  document.getElementById('ca-history').style = "display: inline !important;";
  document.getElementById('p-Editor_Tools').style = "display: block;"
if(document.getElementById('p-tb') != null) {
  document.getElementById('p-tb').style = "display: block !important;"
}
}
//document.getElementsByClassName("mw-wiki-logo")[0].href = "https://www.sullivanattorneys.com";
tools = document.getElementById('p-tb')
nav = document.getElementById('p-navigation')
if(tools != null && nav != null) {
  nav.parentNode.insertBefore(tools, nav);
}

Learn more about our services:

SullivanAttorneys.com

Workers’ Comp, Simplified.

Sullivan On Comp