summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-30 17:43:21 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-30 17:43:21 -0600
commitd2ac77177dccfdd079605c4fe1c4cfe75a64653d (patch)
treea74322e895a547d46abf00dd468e0aea7e1a7cc5
parent31356c203d6333158872ecad98d1cc071631a559 (diff)
downloadgitlab-ce-d2ac77177dccfdd079605c4fe1c4cfe75a64653d.tar.gz
remove tooltip logic
-rw-r--r--app/assets/javascripts/subscription.js.es68
1 files changed, 1 insertions, 7 deletions
diff --git a/app/assets/javascripts/subscription.js.es6 b/app/assets/javascripts/subscription.js.es6
index 73d484f85c7..d5876ee3944 100644
--- a/app/assets/javascripts/subscription.js.es6
+++ b/app/assets/javascripts/subscription.js.es6
@@ -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';
}
});
}