Commit d2ac7717 authored by Mike Greiling's avatar Mike Greiling

remove tooltip logic

parent 31356c20
......@@ -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';
}
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment