Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/zen_mode.js')
-rw-r--r--app/assets/javascripts/zen_mode.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/zen_mode.js b/app/assets/javascripts/zen_mode.js
index 044d703630e..ab0b0b02aa8 100644
--- a/app/assets/javascripts/zen_mode.js
+++ b/app/assets/javascripts/zen_mode.js
@@ -1,4 +1,4 @@
-/* eslint-disable consistent-return, camelcase, class-methods-use-this */
+/* eslint-disable consistent-return, class-methods-use-this */
// Zen Mode (full screen) textarea
//
@@ -91,8 +91,8 @@ export default class ZenMode {
}
}
- scrollTo(zen_area) {
- return $.scrollTo(zen_area, 0, {
+ scrollTo(zenArea) {
+ return $.scrollTo(zenArea, 0, {
offset: -150,
});
}