diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-06-15 15:58:27 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-15 15:58:27 +0000 |
commit | bce890820f6ed0e75537b546d5ef1a0090c53b52 (patch) | |
tree | a47c9f036bd4c52f74ffeded70c418f23ba57ae8 /app/assets/javascripts/pages/users/user_tabs.js | |
parent | 72770e609d755a1abe304025424b8a90b7337842 (diff) | |
download | gitlab-ce-bce890820f6ed0e75537b546d5ef1a0090c53b52.tar.gz |
Enable no-restricted-globals in JS files
Diffstat (limited to 'app/assets/javascripts/pages/users/user_tabs.js')
-rw-r--r-- | app/assets/javascripts/pages/users/user_tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/users/user_tabs.js b/app/assets/javascripts/pages/users/user_tabs.js index f88a6b27c18..a2ca03536f2 100644 --- a/app/assets/javascripts/pages/users/user_tabs.js +++ b/app/assets/javascripts/pages/users/user_tabs.js @@ -187,7 +187,7 @@ export default class UserTabs { let newState = source; newState = newState.replace(/\/+$/, ''); newState += this.windowLocation.search + this.windowLocation.hash; - history.replaceState( + window.history.replaceState( { url: newState, }, |