diff options
author | friendica <info@friendica.com> | 2012-12-13 04:47:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-13 04:47:06 -0800 |
commit | c360565d0a52dc5e9cc679703191e20373792dde (patch) | |
tree | 33c80b21a3f93c8cbb11a6dac162b8f186f09835 /js | |
parent | 4e192b108d9ba3837ae881799b4376550a476ebf (diff) | |
download | volse-hubzilla-c360565d0a52dc5e9cc679703191e20373792dde.tar.gz volse-hubzilla-c360565d0a52dc5e9cc679703191e20373792dde.tar.bz2 volse-hubzilla-c360565d0a52dc5e9cc679703191e20373792dde.zip |
get rid of undefined $ error by mangling theme specific JS include order
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"); - } - } - |