X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-core.js;h=0e65f27bdaca5b3c70a01d34c25829884a4766b0;hb=ff74c45c811734751b090f858b35fae17d729ce6;hp=20eab4d5a7ae4d28da7115510dfd70943c575377;hpb=b9c5ab537a2279480f44d69eae2358086468771b;p=mkws-moved-to-github.git diff --git a/src/mkws-core.js b/src/mkws-core.js index 20eab4d..0e65f27 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -337,14 +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 (width > targetWidth) { - log("already wide"); - } else { - log("already narrow"); + } else if (mkws.width <= targetWidth && width > targetWidth) { + log("narrow -> wide"); } if (mkws.width > targetWidth && width <= targetWidth) {