We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ac125 commit ec07b04Copy full SHA for ec07b04
src/js/gui.js
@@ -294,10 +294,16 @@ class GuiControl {
294
$(function () {
295
for (const suffix of ["", "_wide"]) {
296
$(`.cf_tip${suffix}`).each((_, element) => {
297
- createTooltip(element, {
298
- content: $(element).attr("title"),
299
- theme: `custom${suffix}`,
300
- });
+ const jQueryElement = $(element);
+ // Checks for presence of title and tooltip class are for
+ // the Motors tab which initializes multiple times
+ const attrTitle = jQueryElement.attr("title");
301
+ if (attrTitle && !jQueryElement.hasClass("v-popper--has-tooltip")) {
302
+ createTooltip(element, {
303
+ content: attrTitle,
304
+ theme: `custom${suffix}`,
305
+ });
306
+ }
307
});
308
}
309
0 commit comments