diff --git a/files/assets/js/settings_profile.js b/files/assets/js/settings_profile.js index 6ff3f1f9f..27337ce48 100644 --- a/files/assets/js/settings_profile.js +++ b/files/assets/js/settings_profile.js @@ -92,7 +92,10 @@ function updatebgselection(){ str += ``; } bgContainer.innerHTML = str; - register_new_elements(bgContainer); + + if (typeof register_new_elements === "function") { + register_new_elements(bgContainer) + } } updatebgselection();