From 53d80149831b22d6f16cd0e3a93e2fb8fe11063f Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 1 Jul 2013 14:42:40 +0000 Subject: [PATCH] indent --- experiments/spclient/mkws.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index 5dfe32e..7ab43c9 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -734,26 +734,26 @@ function mkws_html_lang(mkws_config) { } function mkws_mobile_resize () { - debug("resize width: " + $(window).height() + ", width: " + $(window).width()); - var list = ["mkwsSwitch"]; - var obj; - // alert($(window).width()); + debug("resize width: " + $(window).height() + ", width: " + $(window).width()); + var list = ["mkwsSwitch"]; + var obj; + // alert($(window).width()); - if ($(window).width() <= 980) { + if ($(window).width() <= 980) { for(var i = 0; i < list.length; i++) { $("#" + list[i]).hide(); } $("#termlist").parent().hide(); obj = $("#termlist").parent().html(); - $("#mkwsTermlist").html("
" + obj); - } else { + $("#mkwsTermlist").html("
" + obj); + } else { for(var i = 0; i < list.length; i++) { $("#" + list[i]).show(); } $("#termlist").parent().show(); $("#mkwsTermlist").html(""); - } + } }; /* locale */ -- 1.7.10.4