From: Mike Taylor Date: Wed, 30 Apr 2014 15:53:02 +0000 (+0100) Subject: Swap order of logging clauses. X-Git-Tag: 1.0.0~774 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=ff74c45c811734751b090f858b35fae17d729ce6;p=mkws-moved-to-github.git Swap order of logging clauses. --- 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) {