From f4271d2e2040c8dded22da50c9593787f5a1d63b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 30 Apr 2014 16:54:33 +0100 Subject: [PATCH] Consolidate both narrow/wide clauses. --- src/mkws-core.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index ab536f5..e01b3e1 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -338,12 +338,6 @@ mkws.pagerNext = function(tname) { if (mkws.width === undefined) { // No state change, since we have no previous state } else if (mkws.width > threshhold && width <= threshhold) { - log("wide -> narrow"); - } else if (mkws.width <= threshhold && width > threshhold) { - log("narrow -> wide"); - } - - if (mkws.width > threshhold && width <= threshhold) { log("changing from wide to narrow: " + width); $(".mkwsTermlist-Container-wide").hide(); $(".mkwsTermlist-Container-narrow").show(); -- 1.7.10.4