OpenSCAP / website

Tracker for new OpenSCAP portal
2 stars 1 forks source link

Acronyms don't work #146

Closed lhorakov closed 8 years ago

lhorakov commented 8 years ago

Acronyms don't work when this line document.getElementById("showJS").style.display = "block"; is added into myscript.js code under function window.onload = function(){

window.onload = function(){ document.getElementById("showJS").style.display = "block"; ...and other code }

But without that function the text optimized for disabled JS will not show in JS enabled. Don't know what's wrong. Anyone?

lhorakov commented 8 years ago

But! In Getting Started and Download it is working. So here comes the magic again!

lhorakov commented 8 years ago

It's done. The problem was in javascript which returns a NULL parameter of id isn't presented on the page which caused the problems. Now we use jQuery.