From 540da9b283a0884947915d761ddb731379ceaafb Mon Sep 17 00:00:00 2001 From: Bryce Johnson Date: Fri, 13 Jan 2017 16:54:16 -0500 Subject: Port of 25624-anticipate-obstacles-to-removing-turbolinks to EE. --- app/assets/javascripts/breakpoints.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/assets/javascripts/breakpoints.js') 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(); -- cgit v1.2.1