main.js: rename init_stylechooser to camelCase

This commit is contained in:
Zankaria 2024-08-04 15:37:36 +02:00
parent 4b5e40f575
commit c327a0439e

View File

@ -193,7 +193,7 @@ function changeStyle(styleName, link) {
{% endif %} {% endif %}
{% verbatim %} {% verbatim %}
function init_stylechooser() { function initStyleChooser() {
var newElement = document.createElement('div'); var newElement = document.createElement('div');
newElement.className = 'styles'; newElement.className = 'styles';
@ -367,7 +367,7 @@ var script_settings = function(script_name) {
}; };
function init() { function init() {
init_stylechooser(); initStyleChooser();
{% endverbatim %} {% endverbatim %}
{% if config.allow_delete %} {% if config.allow_delete %}