summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Tang <dtang@gitlab.com>2018-10-03 16:05:18 +0000
committerDennis Tang <dtang@gitlab.com>2018-10-03 16:19:53 +0000
commit05a35a0e32c21627a7652e62cf7dad645128b130 (patch)
treefc0026a74d9f3d563a352f6e277c6c0ced9f768e
parentbf0c9bfd3fb9637dc665fdc2ccc6a6d199df4a52 (diff)
downloadgitlab-ce-49075-add-status-message-from-within-user-menu.tar.gz
Contain our excitement by not using "!" in our error message49075-add-status-message-from-within-user-menu
-rw-r--r--app/assets/javascripts/pages/profiles/show/index.js4
-rw-r--r--app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/pages/profiles/show/index.js b/app/assets/javascripts/pages/profiles/show/index.js
index aea7b649c20..c7ce4675573 100644
--- a/app/assets/javascripts/pages/profiles/show/index.js
+++ b/app/assets/javascripts/pages/profiles/show/index.js
@@ -11,7 +11,7 @@ document.addEventListener('DOMContentLoaded', () => {
const statusEmojiField = document.getElementById('js-status-emoji-field');
const statusMessageField = document.getElementById('js-status-message-field');
- const toggleNoEmojiPlaceholder = (isVisible) => {
+ const toggleNoEmojiPlaceholder = isVisible => {
const placeholderElement = document.getElementById('js-no-emoji-placeholder');
placeholderElement.classList.toggle('hidden', !isVisible);
};
@@ -69,5 +69,5 @@ document.addEventListener('DOMContentLoaded', () => {
}
});
})
- .catch(() => createFlash('Failed to load emoji list!'));
+ .catch(() => createFlash('Failed to load emoji list.'));
});
diff --git a/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue b/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
index 7d88fc5b1e7..43f0b6651b9 100644
--- a/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
+++ b/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
@@ -75,7 +75,7 @@ export default {
this.$refs.userStatusForm,
);
})
- .catch(() => createFlash(__('Failed to load emoji list!')));
+ .catch(() => createFlash(__('Failed to load emoji list.')));
},
showEmojiMenu() {
this.isEmojiMenuVisible = true;