mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-07 15:11:32 +01:00
main.js: rename onready to camelCase
This commit is contained in:
parent
c327a0439e
commit
8b773b124e
@ -386,7 +386,7 @@ var RecaptchaOptions = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
onready_callbacks = [];
|
onready_callbacks = [];
|
||||||
function onready(fnc) {
|
function onReady(fnc) {
|
||||||
onready_callbacks.push(fnc);
|
onready_callbacks.push(fnc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -401,7 +401,7 @@ function ready() {
|
|||||||
var post_date = "{{ config.post_date }}";
|
var post_date = "{{ config.post_date }}";
|
||||||
var max_images = {{ config.max_images }};
|
var max_images = {{ config.max_images }};
|
||||||
|
|
||||||
onready(init);
|
onReady(init);
|
||||||
|
|
||||||
{% if config.google_analytics %}{% verbatim %}
|
{% if config.google_analytics %}{% verbatim %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user