summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/stopwatch.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/stopwatch.js')
-rw-r--r--web_src/js/features/stopwatch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/stopwatch.js b/web_src/js/features/stopwatch.js
index 33915a1d83..f43014fec5 100644
--- a/web_src/js/features/stopwatch.js
+++ b/web_src/js/features/stopwatch.js
@@ -125,7 +125,7 @@ function updateStopwatchData(data) {
const btnEl = $('.active-stopwatch-trigger');
if (!watch) {
clearStopwatchTimer();
- btnEl.addClass('hidden');
+ btnEl.addClass('gt-hidden');
} else {
const {repo_owner_name, repo_name, issue_index, seconds} = watch;
const issueUrl = `${appSubUrl}/${repo_owner_name}/${repo_name}/issues/${issue_index}`;
@@ -134,7 +134,7 @@ function updateStopwatchData(data) {
$('.stopwatch-cancel').attr('action', `${issueUrl}/times/stopwatch/cancel`);
$('.stopwatch-issue').text(`${repo_owner_name}/${repo_name}#${issue_index}`);
updateStopwatchTime(seconds);
- btnEl.removeClass('hidden');
+ btnEl.removeClass('gt-hidden');
}
return Boolean(data.length);
}