summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Tang <750946-dennis@users.noreply.gitlab.com>2019-09-05 07:51:38 +0000
committerDennis Tang <750946-dennis@users.noreply.gitlab.com>2019-09-05 07:51:38 +0000
commitda1cf242fd571ea95f27a6c34d593de9bd742dc2 (patch)
tree8c954818fba17a4a32fe6cdc083815212b5867a7
parent59a6b9f220903cd0c8532ae7b3b54cb5199d06dc (diff)
downloadgitlab-ce-ce-13665-data-and-privacy-agreement-for-gitlab-users.tar.gz
Use `js-` CSS class prefix for JS-only usagece-13665-data-and-privacy-agreement-for-gitlab-users
-rw-r--r--app/assets/javascripts/privacy_policy_update_callout.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/privacy_policy_update_callout.js b/app/assets/javascripts/privacy_policy_update_callout.js
index 9c721620b0e..8205661443b 100644
--- a/app/assets/javascripts/privacy_policy_update_callout.js
+++ b/app/assets/javascripts/privacy_policy_update_callout.js
@@ -1,7 +1,7 @@
import PersistentUserCallout from '~/persistent_user_callout';
function initPrivacyPolicyUpdateCallout() {
- const callout = document.querySelector('.privacy-policy-update-13665');
+ const callout = document.querySelector('.js-privacy-policy-update-13665');
PersistentUserCallout.factory(callout);
}