}
$("#settings").popover({
- title: "WebUI settings",
container: "body",
placement: "bottom",
html: true,
// Using .clone() has the side-effect of producing elements with duplicate id attributes.
return $("#settings-popover").clone();
}
+ // Restore the tooltip of the element that the popover is attached to.
+ }).attr("title", function () {
+ return $(this).attr("data-original-title");
});
$("#settings").on("click", function (e) {
e.preventDefault();
tabClick("#" + $("#navBar > ul > .nav-item > .nav-link.active").attr("id"));
});
- $("body").tooltip({
- selector: ".symbol-default abbr[title]",
- placement: "left",
- html: true
- });
-
// Radio buttons
$(document).on("click", "input:radio[name=\"clusterName\"]", function () {
if (!this.disabled) {