BUG FIX: Menu loading

Menu's now load slower but update when needed.
Also frozen users now catch the forbidden error
This commit is contained in:
Lars van Hijfte
2017-02-01 14:14:49 +01:00
parent 2b98480587
commit b7a6fae4d9
3 changed files with 52 additions and 35 deletions

View File

@@ -94,14 +94,4 @@ function showGroups(groups, list) {
} else {
return false;
}
}
$(document).ready(function() {
$("body").delegate("textarea[maxlength]", "keydown", function() {
if ($(this).val().length / .9 >= $(this).attr("maxlength")) {
$(this).next().text($(this).val().length + "/" + $(this).attr("maxlength"));
} else {
$(this).next().text("");
}
});
});
}