projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9f2178e
)
Consolidate both narrow/wide clauses.
author
Mike Taylor
<mike@indexdata.com>
Wed, 30 Apr 2014 15:54:33 +0000
(16:54 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 30 Apr 2014 15:54:33 +0000
(16:54 +0100)
src/mkws-core.js
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
ab536f5
..
e01b3e1
100644
(file)
--- 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) {
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();
log("changing from wide to narrow: " + width);
$(".mkwsTermlist-Container-wide").hide();
$(".mkwsTermlist-Container-narrow").show();