diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-08-07 17:10:25 +0300 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-08-07 17:10:25 +0300 |
commit | 8403b38940205ab3f3cf14bda78f641c99e112bd (patch) | |
tree | d4b1da123aa2d0fd52fd37d7e0111cffd3db82af /app/assets/javascripts/pages/projects/settings/repository | |
parent | 9d5d5d86482d7e349dad6f0269d35577928b3c1b (diff) |
port changes
Diffstat (limited to 'app/assets/javascripts/pages/projects/settings/repository')
-rw-r--r-- | app/assets/javascripts/pages/projects/settings/repository/show/mirror_repos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/projects/settings/repository/show/mirror_repos.js b/app/assets/javascripts/pages/projects/settings/repository/show/mirror_repos.js index 76756f76642..4c56af20cc3 100644 --- a/app/assets/javascripts/pages/projects/settings/repository/show/mirror_repos.js +++ b/app/assets/javascripts/pages/projects/settings/repository/show/mirror_repos.js @@ -50,7 +50,7 @@ export default class MirrorRepos { this.debouncedUpdateUrl = _.debounce(() => this.updateUrl(), 200); this.$urlInput.on('input', () => this.debouncedUpdateUrl()); this.$protectedBranchesInput.on('change', () => this.updateProtectedBranches()); - this.$table.on('click', '.js-delete-mirror', this.deleteMirror.bind(this)); + this.$table.on('click', '.js-delete-mirror', event => this.deleteMirror(event)); } togglePassword() { |