summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/breakpoints.js
diff options
context:
space:
mode:
authorSam Bigelow <sbigelow@gitlab.com>2019-04-10 16:39:03 -0400
committerSam Bigelow <sbigelow@gitlab.com>2019-04-12 10:47:36 -0400
commit9dca4f127f8fbc3c74a55c5dbd075ea3533f56b2 (patch)
treefd8623dc4a3b1eb71926fc667f7cda93b3a73d3f /app/assets/javascripts/breakpoints.js
parent539ac2589966c77d50249a80c08285f1acf9c024 (diff)
downloadgitlab-ce-9dca4f127f8fbc3c74a55c5dbd075ea3533f56b2.tar.gz
Fix isDesktop function to return proper value
Diffstat (limited to 'app/assets/javascripts/breakpoints.js')
-rw-r--r--app/assets/javascripts/breakpoints.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/breakpoints.js b/app/assets/javascripts/breakpoints.js
index 4d5d6bb864b..93aacba0e8e 100644
--- a/app/assets/javascripts/breakpoints.js
+++ b/app/assets/javascripts/breakpoints.js
@@ -15,7 +15,7 @@ const BreakpointInstance = {
return breakpoint;
},
isDesktop() {
- return ['lg', 'md'].includes(this.getBreakpointSize);
+ return ['lg', 'md'].includes(this.getBreakpointSize());
},
};