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 2: Line 2:
 
console.log('test');
 
console.log('test');
 
console.log(document.getElementById('pt-logout'));
 
console.log(document.getElementById('pt-logout'));
if(document.getElementById('pt-logout') != null) {
+
if(document.getElementById('pt-logout') == null) {
 
   document.getElementById('ca-history').style = "display: none;"
 
   document.getElementById('ca-history').style = "display: none;"
 
}
 
}

Revision as of 10:45, 14 April 2020

/* Any JavaScript here will be loaded for all users on every page load. */
console.log('test');
console.log(document.getElementById('pt-logout'));
if(document.getElementById('pt-logout') == null) {
  document.getElementById('ca-history').style = "display: none;"
}

Learn more about our services:

SullivanAttorneys.com

Workers’ Comp, Simplified.

Sullivan On Comp