From d7896b9c02eda4816f8fc3924e100f4fb11d0f2f 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 bfe89bc4..8bff3c03 100755 --- a/templates/main.js +++ b/templates/main.js @@ -211,7 +211,7 @@ function changeStyle(styleName, link) { {% endif %} {% raw %} -function init_stylechooser() { +function initStyleChooser() { var newElement = document.createElement('div'); newElement.className = 'styles'; @@ -466,7 +466,7 @@ var script_settings = function(script_name) { }; function init() { - init_stylechooser(); + initStyleChooser(); initDynamicCaptcha(); {% endraw %}