diff --git a/spec/phantom_js/smoke_test.js b/spec/phantom_js/smoke_test.js index 640a9db8cc9..4b85dff14dc 100644 --- a/spec/phantom_js/smoke_test.js +++ b/spec/phantom_js/smoke_test.js @@ -197,8 +197,8 @@ var runTests = function() { }); exec("go home", function() { - if ($('#site-logo').length()) $('#site-logo').click(); - if ($('#site-text-logo').length()) $('#site-text-logo').click(); + if ($('#site-logo').length) $('#site-logo').click(); + if ($('#site-text-logo').length) $('#site-text-logo').click(); }); test("it shows a topic list", function() {