1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

main.js: rename onready to camelCase

This commit is contained in:
Zankaria 2024-08-05 18:32:11 +02:00
parent c327a0439e
commit 8b773b124e

View File

@ -386,7 +386,7 @@ var RecaptchaOptions = {
};
onready_callbacks = [];
function onready(fnc) {
function onReady(fnc) {
onready_callbacks.push(fnc);
}
@ -401,7 +401,7 @@ function ready() {
var post_date = "{{ config.post_date }}";
var max_images = {{ config.max_images }};
onready(init);
onReady(init);
{% if config.google_analytics %}{% verbatim %}