Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-04 14:11:00 +0300
committerPhil Hughes <me@iamphill.com>2018-06-06 13:19:27 +0300
commitce2bc5c0a8021e876308b4990bc17f95aad90387 (patch)
treec7a63044cac9746c5c6564dc593ccb52df32e862 /app/assets/javascripts/vue_shared
parent03820e9b03fb25c94263231aaee30fec0b6468f4 (diff)
correctly load up merge request
fixed pipeline request throwing an error
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r--app/assets/javascripts/vue_shared/components/tabs/tabs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/components/tabs/tabs.js b/app/assets/javascripts/vue_shared/components/tabs/tabs.js
index 4b2996f76d5..9b9e4bb47bd 100644
--- a/app/assets/javascripts/vue_shared/components/tabs/tabs.js
+++ b/app/assets/javascripts/vue_shared/components/tabs/tabs.js
@@ -23,6 +23,7 @@ export default {
setTab(e, index) {
if (this.stopPropagation) {
e.stopPropagation();
+ e.preventDefault();
}
this.tabs[this.currentIndex].localActive = false;