forked from leftypol/leftypol
main.js: rename onready to camelCase
This commit is contained in:
parent
d7896b9c02
commit
8223dcfbad
1 changed files with 2 additions and 2 deletions
|
@ -486,7 +486,7 @@ var RecaptchaOptions = {
|
|||
};
|
||||
|
||||
onready_callbacks = [];
|
||||
function onready(fnc) {
|
||||
function onReady(fnc) {
|
||||
onready_callbacks.push(fnc);
|
||||
}
|
||||
|
||||
|
@ -501,7 +501,7 @@ function ready() {
|
|||
var post_date = "{{ config.post_date }}";
|
||||
var max_images = {{ config.max_images }};
|
||||
|
||||
onready(init);
|
||||
onReady(init);
|
||||
|
||||
{% if config.google_analytics %}{% raw %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue