diff --git a/html/js/scripts.js b/html/js/scripts.js index d0bea0d41..47e26a07f 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -2830,7 +2830,7 @@ function logout() */ function create_anchor_up() { - if ( $('up_top')) return; + if ( document.getElementById('up_top')) return; var newElt = new Element('div'); newElt.setAttribute('id', 'up_top');