From ff74c45c811734751b090f858b35fae17d729ce6 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 30 Apr 2014 16:53:02 +0100 Subject: [PATCH] Swap order of logging clauses. --- src/mkws-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index d5ce99b..0e65f27 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -337,10 +337,10 @@ mkws.pagerNext = function(tname) { if (mkws.width === undefined) { // No state change, since we have no previous state - } else if (mkws.width <= targetWidth && width > targetWidth) { - log("narrow -> wide"); } else if (mkws.width > targetWidth && width <= targetWidth) { log("wide -> narrow"); + } else if (mkws.width <= targetWidth && width > targetWidth) { + log("narrow -> wide"); } if (mkws.width > targetWidth && width <= targetWidth) { -- 1.7.10.4