hideci: fix compatibility with jquery>=v1.11

Otherwise the hideci script is failing because of
'unrecognized expression: :visible:'

Change-Id: I3c34c73387f41ac5d29d17d2e353747a45cdf3b3
This commit is contained in:
Tristan Cacqueray 2018-05-03 01:06:31 +00:00
parent 837f01a6f9
commit a522c0a8d1

View File

@ -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();
}
});