From 2d53436d0a15090046a86eaf45aa1a344157702c Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 10 Aug 2015 18:15:18 +1000 Subject: [PATCH] correct intialization order --- .../discourse/initializers/ensure-max-image-dimensions.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/initializers/ensure-max-image-dimensions.js.es6 b/app/assets/javascripts/discourse/initializers/ensure-max-image-dimensions.js.es6 index d4ed00aed..012fc9813 100644 --- a/app/assets/javascripts/discourse/initializers/ensure-max-image-dimensions.js.es6 +++ b/app/assets/javascripts/discourse/initializers/ensure-max-image-dimensions.js.es6 @@ -1,5 +1,6 @@ export default { name: 'ensure-image-dimensions', + after: 'mobile', initialize: function() { if (!window) { return; }