aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-13 04:47:06 -0800
committerfriendica <info@friendica.com>2012-12-13 04:47:06 -0800
commitc360565d0a52dc5e9cc679703191e20373792dde (patch)
tree33c80b21a3f93c8cbb11a6dac162b8f186f09835 /js/main.js
parent4e192b108d9ba3837ae881799b4376550a476ebf (diff)
downloadvolse-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/main.js')
-rw-r--r--js/main.js33
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");
- }
- }
-