Commit 2670b34f authored by Nick Thomas's avatar Nick Thomas

CE->EE: Fix conflicts in app/assets/javascripts/gl_dropdown.js

parent 9c1c26d0
...@@ -749,11 +749,6 @@ GitLabDropdown = (function() { ...@@ -749,11 +749,6 @@ GitLabDropdown = (function() {
GitLabDropdown.prototype.focusTextInput = function(triggerFocus = false) { GitLabDropdown.prototype.focusTextInput = function(triggerFocus = false) {
if (this.options.filterable) { if (this.options.filterable) {
this.dropdown.one('transitionend', () => { this.dropdown.one('transitionend', () => {
<<<<<<< HEAD
if (this.dropdown.is('.open')) {
this.filterInput.focus();
}
=======
const initialScrollTop = $(window).scrollTop(); const initialScrollTop = $(window).scrollTop();
if (this.dropdown.is('.open')) { if (this.dropdown.is('.open')) {
...@@ -763,7 +758,6 @@ GitLabDropdown = (function() { ...@@ -763,7 +758,6 @@ GitLabDropdown = (function() {
if ($(window).scrollTop() < initialScrollTop) { if ($(window).scrollTop() < initialScrollTop) {
$(window).scrollTop(initialScrollTop); $(window).scrollTop(initialScrollTop);
} }
>>>>>>> upstream/master
}); });
if (triggerFocus) { if (triggerFocus) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment