summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repo/index.js
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-10-04 02:39:28 +0900
committerShinya Maeda <shinya@gitlab.com>2017-10-04 02:39:28 +0900
commit6d4e28295863fb1969c4785b3c8463c12cafb52f (patch)
tree186730b614677e1f4de979d9266e6b8bd8a395ba /app/assets/javascripts/repo/index.js
parentab3b36103dd22e0ef0bbaa514901c421d83eb649 (diff)
parentea4c3371a738aa5b1825f9ea45ff7fdf64e889f8 (diff)
downloadgitlab-ce-6d4e28295863fb1969c4785b3c8463c12cafb52f.tar.gz
Merge branch 'master' into feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
Diffstat (limited to 'app/assets/javascripts/repo/index.js')
-rw-r--r--app/assets/javascripts/repo/index.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/repo/index.js b/app/assets/javascripts/repo/index.js
index 6c1d468e937..7d0123e3d3a 100644
--- a/app/assets/javascripts/repo/index.js
+++ b/app/assets/javascripts/repo/index.js
@@ -11,10 +11,6 @@ function initDropdowns() {
}
function addEventsForNonVueEls() {
- $(document).on('change', '.dropdown', () => {
- Store.targetBranch = $('.project-refs-target-form input[name="ref"]').val();
- });
-
window.onbeforeunload = function confirmUnload(e) {
const hasChanged = Store.openedFiles
.some(file => file.changed);