diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/js/main.js b/js/main.js index 116cd5aeb..e9ff2fc88 100644 --- a/js/main.js +++ b/js/main.js @@ -870,6 +870,23 @@ $("abbr.wall-item-ago-time").timeago(); //reCalcHeight(); + + + +}); + + function zFormError(elm,x) { + if(x) { + $(elm).addClass("zform-error"); + $(elm).removeClass("zform-ok"); + } + else { + $(elm).addClass("zform-ok"); + $(elm).removeClass("zform-error"); + } + } + + $(window).scroll(function () { if(typeof buildCmd == 'function') { $('#more').hide(); @@ -893,19 +910,3 @@ $(window).scroll(function () { }); - - - -}); - - function zFormError(elm,x) { - if(x) { - $(elm).addClass("zform-error"); - $(elm).removeClass("zform-ok"); - } - else { - $(elm).addClass("zform-ok"); - $(elm).removeClass("zform-error"); - } - } - |