summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/breakpoints.js
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-01-13 16:54:16 -0500
committerBryce Johnson <bryce@gitlab.com>2017-01-30 15:38:28 -0500
commit540da9b283a0884947915d761ddb731379ceaafb (patch)
treef24e5a412ebfd3e8c222877f4044b63b446ce415 /app/assets/javascripts/breakpoints.js
parenta0734363b1b2c5073f810f3b189670d4a8ecbc54 (diff)
downloadgitlab-ce-turbolinks-ee-compat.tar.gz
Port of 25624-anticipate-obstacles-to-removing-turbolinks to EE.turbolinks-ee-compat
Diffstat (limited to 'app/assets/javascripts/breakpoints.js')
-rw-r--r--app/assets/javascripts/breakpoints.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/breakpoints.js b/app/assets/javascripts/breakpoints.js
index eae062a3aa3..f8dac1ff56e 100644
--- a/app/assets/javascripts/breakpoints.js
+++ b/app/assets/javascripts/breakpoints.js
@@ -43,6 +43,7 @@
BreakpointInstance.prototype.getBreakpointSize = function() {
var $visibleDevice;
$visibleDevice = this.visibleDevice;
+ // TODO: Consider refactoring in light of turbolinks removal.
// the page refreshed via turbolinks
if (!$visibleDevice().length) {
this.setup();