aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js37
1 files changed, 19 insertions, 18 deletions
diff --git a/js/main.js b/js/main.js
index 18924834d..e9ff2fc88 100644
--- a/js/main.js
+++ b/js/main.js
@@ -447,11 +447,11 @@ function updateConvItems(mode,data) {
if(typeof buildCmd == 'function') {
if(scroll_next) {
- network_page = next_page;
+ bParam_page = next_page;
page_load = true;
}
else {
- network_page = 1;
+ bParam_page = 1;
}
update_url = buildCmd();
}
@@ -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");
- }
- }
-