MediaWiki:Common.js: Difference between revisions
From Rinchen Terdzö
No edit summary |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
$.getScript("/extensions/css-regions-polyfill-master/bin/css-regions-polyfill.min.js"); | $.getScript("/extensions/css-regions-polyfill-master/bin/css-regions-polyfill.min.js"); | ||
function toggle_visibility(id) { | |||
var e = document.getElementById(id); | |||
if(e.style.display == 'block') | |||
e.style.display = 'none'; | |||
else | |||
e.style.display = 'block'; | |||
} |