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:
parent
837f01a6f9
commit
a522c0a8d1
@ -543,7 +543,7 @@ window.onload = function() {
|
|||||||
$.each(mutations, function(i, mutation) {
|
$.each(mutations, function(i, mutation) {
|
||||||
if (mutation.target === span[0] &&
|
if (mutation.target === span[0] &&
|
||||||
mutation.attributeName === "style" &&
|
mutation.attributeName === "style" &&
|
||||||
(!(span.is(":visible:")))) {
|
(!(span.is(":visible")))) {
|
||||||
ci_page_loaded();
|
ci_page_loaded();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user