diff --git a/modules/openstack_project/files/gerrit/hideci.js b/modules/openstack_project/files/gerrit/hideci.js
index 2affea8f93..1580bf5c77 100644
--- a/modules/openstack_project/files/gerrit/hideci.js
+++ b/modules/openstack_project/files/gerrit/hideci.js
@@ -319,6 +319,7 @@ window.onload = function() {
         var span = $("span.rpcStatus");
         $.each(mutations, function(i, mutation) {
             if (mutation.target === span[0] &&
+                mutation.attributeName === "style" &&
                 (!(span.is(":visible:")))) {
                 ci_page_loaded();
             }