diff --git a/js/functions.js b/js/functions.js index de881f8251..7310a1948b 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3102,7 +3102,7 @@ AJAX.registerOnload('functions.js', function() { /** * Load version information asynchronously. */ - if ($('.jsversioncheck').length > 0) { + if ($('li.jsversioncheck').length > 0) { $.getJSON('version_check.php', {}, PMA_current_version); }