remove tooltip logic
This commit is contained in:
parent
31356c203d
commit
d2ac77177d
|
@ -37,13 +37,7 @@
|
|||
!gl.issueBoards.BoardsStore.detail.issue.subscribed,
|
||||
);
|
||||
} else {
|
||||
const newToggleText = isSubscribed ? 'Subscribe' : 'Unsubscribe';
|
||||
buttonSpan.innerHTML = newToggleText;
|
||||
|
||||
if (button.getAttribute('data-original-title')) {
|
||||
button.setAttribute('data-original-title', newToggleText);
|
||||
$(button).tooltip('hide').tooltip('fixTitle');
|
||||
}
|
||||
buttonSpan.innerHTML = isSubscribed ? 'Subscribe' : 'Unsubscribe';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue