summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/project_find_file.js
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-06-15 15:58:27 +0000
committerPhil Hughes <me@iamphill.com>2018-06-15 15:58:27 +0000
commitbce890820f6ed0e75537b546d5ef1a0090c53b52 (patch)
treea47c9f036bd4c52f74ffeded70c418f23ba57ae8 /app/assets/javascripts/project_find_file.js
parent72770e609d755a1abe304025424b8a90b7337842 (diff)
downloadgitlab-ce-bce890820f6ed0e75537b546d5ef1a0090c53b52.tar.gz
Enable no-restricted-globals in JS files
Diffstat (limited to 'app/assets/javascripts/project_find_file.js')
-rw-r--r--app/assets/javascripts/project_find_file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/project_find_file.js b/app/assets/javascripts/project_find_file.js
index 4c4acd487f8..1fed200db49 100644
--- a/app/assets/javascripts/project_find_file.js
+++ b/app/assets/javascripts/project_find_file.js
@@ -150,7 +150,7 @@ export default class ProjectFindFile {
}
goToTree() {
- return location.href = this.options.treeUrl;
+ return window.location.href = this.options.treeUrl;
}
goToBlob() {