From a522c0a8d122dcb9a105b47820f2df840e4b5dd6 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Thu, 3 May 2018 01:06:31 +0000 Subject: [PATCH] hideci: fix compatibility with jquery>=v1.11 Otherwise the hideci script is failing because of 'unrecognized expression: :visible:' Change-Id: I3c34c73387f41ac5d29d17d2e353747a45cdf3b3 --- modules/openstack_project/files/gerrit/hideci.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/gerrit/hideci.js b/modules/openstack_project/files/gerrit/hideci.js index e9c9bf2058..1565c3db81 100644 --- a/modules/openstack_project/files/gerrit/hideci.js +++ b/modules/openstack_project/files/gerrit/hideci.js @@ -543,7 +543,7 @@ window.onload = function() { $.each(mutations, function(i, mutation) { if (mutation.target === span[0] && mutation.attributeName === "style" && - (!(span.is(":visible:")))) { + (!(span.is(":visible")))) { ci_page_loaded(); } });