more zregister cleanup and theme separation
This commit is contained in:
11
js/main.js
11
js/main.js
@@ -851,3 +851,14 @@ $("abbr.wall-item-ago-time").timeago();
|
||||
|
||||
});
|
||||
|
||||
function zFormError(elm,x) {
|
||||
if(x) {
|
||||
$(elm).addClass("zform-error");
|
||||
$(elm).removeClass("zform-ok");
|
||||
}
|
||||
else {
|
||||
$(elm).addClass("zform-ok");
|
||||
$(elm).removeClass("zform-error");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user