diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-07 09:09:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-07 09:09:21 +0300 |
commit | 97815325b875a7bde0793cb0777e36b275ae1c6c (patch) | |
tree | 7f5e56fe3b69c472a78922adc6f82fd29217eebc /app/assets/javascripts/pages | |
parent | 923a8c950c009e65fd17ae2ab6c5e245a66175b5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r-- | app/assets/javascripts/pages/shared/wikis/wikis.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/assets/javascripts/pages/shared/wikis/wikis.js b/app/assets/javascripts/pages/shared/wikis/wikis.js index ec085eae199..b32cc700e16 100644 --- a/app/assets/javascripts/pages/shared/wikis/wikis.js +++ b/app/assets/javascripts/pages/shared/wikis/wikis.js @@ -1,6 +1,5 @@ import { GlBreakpointInstance as bp } from '@gitlab/ui/dist/utils'; import Tracking from '~/tracking'; -import showToast from '~/vue_shared/plugins/global_toast'; import ShortcutsWiki from '~/behaviors/shortcuts/shortcuts_wiki'; const TRACKING_EVENT_NAME = 'view_wiki_page'; @@ -31,7 +30,6 @@ export default class Wikis { this.renderSidebar(); Wikis.trackPageView(); - Wikis.showToasts(); Wikis.initShortcuts(); } @@ -73,11 +71,6 @@ export default class Wikis { }); } - static showToasts() { - const toasts = document.querySelectorAll('.js-toast-message'); - toasts.forEach((toast) => showToast(toast.dataset.message)); - } - static initShortcuts() { new ShortcutsWiki(); // eslint-disable-line no-new } |