use existing function

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9749 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2009-07-11 14:28:43 +00:00
parent 54ee31972a
commit c9fa6a8cb9

View file

@ -2,13 +2,11 @@
// <![CDATA[
function hide_qr(hide)
{
var qr = document.getElementById('qr_editor_div');
var qr_show = document.getElementById('qr_showeditor_div');
qr_show.style.display = (hide) ? '' : 'none';
qr.style.display = (hide) ? 'none' : '';
dE('qr_editor_div');
dE('qr_showeditor_div');
return true;
}
onload_functions.push('hide_qr(true);');
// ]]>
</script>