mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 12:23:48 +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 = [];
|
||||
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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user