diff options
author | Mike Greiling <mgreiling@gitlab.com> | 2017-08-04 08:07:05 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-08-04 08:07:05 +0000 |
commit | 7256626d6023869fac7ffdcfe3d291b76fb19e64 (patch) | |
tree | 2234178ec35755eedce1b4251b7bdbe05ad7ff1f /app/assets/javascripts/dispatcher.js | |
parent | fe5086c28f4ff979184c3dc9945a599ce7ecf8b2 (diff) | |
download | gitlab-ce-7256626d6023869fac7ffdcfe3d291b76fb19e64.tar.gz |
Remove monkey-patched Array.prototype.first() and last() methods
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 070d0a01c0f..ad5ff19ec58 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -504,7 +504,7 @@ import GpgBadges from './gpg_badges'; new gl.DueDateSelectors(); break; } - switch (path.first()) { + switch (path[0]) { case 'sessions': case 'omniauth_callbacks': if (!gon.u2f) break; |