fix: Fix CSS query selectors (#4372)

This commit is contained in:
Lars Eggert 2022-08-26 20:51:27 +03:00 committed by GitHub
parent 1dfd0cbf47
commit e666894d55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -449,7 +449,7 @@ $("#deps-modal")
.replaceWith(dep_el); .replaceWith(dep_el);
dep_sim.restart(); dep_sim.restart();
$('svg [title][title!=""]') $('svg [title]:not([title=""])')
.tooltip(); .tooltip();
$("#legend") $("#legend")
@ -467,7 +467,7 @@ $("#deps-modal")
dep_sim.restart(); dep_sim.restart();
} }
$('svg [title][title!=""]') $('svg [title]:not([title=""])')
.tooltip(); .tooltip();
}); });

View file

@ -44,7 +44,7 @@ jQuery.ajaxSetup({
// Use the Bootstrap tooltip plugin for all elements with a title attribute // Use the Bootstrap tooltip plugin for all elements with a title attribute
$(document) $(document)
.ready(function () { .ready(function () {
$('[title][title!=""]') $("[title]:not([title=''])")
.tooltip(); .tooltip();
}); });