Skip to content

Commit e666894

Browse files
authored
fix: Fix CSS query selectors (ietf-tools#4372)
1 parent 1dfd0cb commit e666894

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/static/js/document_relations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ $("#deps-modal")
449449
.replaceWith(dep_el);
450450
dep_sim.restart();
451451

452-
$('svg [title][title!=""]')
452+
$('svg [title]:not([title=""])')
453453
.tooltip();
454454

455455
$("#legend")
@@ -467,7 +467,7 @@ $("#deps-modal")
467467
dep_sim.restart();
468468
}
469469

470-
$('svg [title][title!=""]')
470+
$('svg [title]:not([title=""])')
471471
.tooltip();
472472
});
473473

ietf/static/js/ietf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jQuery.ajaxSetup({
4444
// Use the Bootstrap tooltip plugin for all elements with a title attribute
4545
$(document)
4646
.ready(function () {
47-
$('[title][title!=""]')
47+
$("[title]:not([title=''])")
4848
.tooltip();
4949
});
5050

0 commit comments

Comments
 (0)