···991010 function toggleCustomField(selectId, fieldId, currentValueId) {
1111 var select = document.getElementById(selectId);
1212+ if (!select) return;
1213 var field = document.getElementById(fieldId);
1314 var currentValue = document.getElementById(currentValueId);
1415 var previewText = currentValue
···41424243 function initIconField() {
4344 var select = document.getElementById("wireservice_pub_icon_source");
4545+ if (!select) return;
4446 var customField = document.getElementById(
4547 "wireservice-pub-custom-icon-field"
4648 );