From c327a0439ee3d812a2ce2aefbec99883395b2a0f Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 4 Aug 2024 15:37:36 +0200 Subject: [PATCH] main.js: rename init_stylechooser to camelCase --- templates/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/main.js b/templates/main.js index 9858dfe7..cccf98ea 100644 --- a/templates/main.js +++ b/templates/main.js @@ -193,7 +193,7 @@ function changeStyle(styleName, link) { {% endif %} {% verbatim %} -function init_stylechooser() { +function initStyleChooser() { var newElement = document.createElement('div'); newElement.className = 'styles'; @@ -367,7 +367,7 @@ var script_settings = function(script_name) { }; function init() { - init_stylechooser(); + initStyleChooser(); {% endverbatim %} {% if config.allow_delete %}