diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-01-13 16:54:16 -0500 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-01-30 15:38:28 -0500 |
commit | 540da9b283a0884947915d761ddb731379ceaafb (patch) | |
tree | f24e5a412ebfd3e8c222877f4044b63b446ce415 /app/assets/javascripts/breakpoints.js | |
parent | a0734363b1b2c5073f810f3b189670d4a8ecbc54 (diff) | |
download | gitlab-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.js | 1 |
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(); |