fix linting bugs

This commit is contained in:
Dennis Eichhorn 2023-09-21 01:03:47 +00:00
parent 05683e9195
commit d69d1e20f4

View File

@ -1,9 +1,9 @@
import { UriFactory } from '../Uri/UriFactory.js'; import { UriFactory } from '../Uri/UriFactory.js';
import { AdvancedInput } from './Component/AdvancedInput.js'; import { AdvancedInput } from './Component/AdvancedInput.js';
//import { NotificationLevel } from '../Message/Notification/NotificationLevel.js'; // import { NotificationLevel } from '../Message/Notification/NotificationLevel.js';
//import { NotificationMessage } from '../Message/Notification/NotificationMessage.js'; // import { NotificationMessage } from '../Message/Notification/NotificationMessage.js';
//import { NotificationType } from '../Message/Notification/NotificationType.js'; // import { NotificationType } from '../Message/Notification/NotificationType.js';
/** /**
* UI manager for handling basic ui elements. * UI manager for handling basic ui elements.
@ -349,8 +349,6 @@ export class GeneralUI
const tagName = src.tagName.toLowerCase(); const tagName = src.tagName.toLowerCase();
if (tagName === 'h1') { if (tagName === 'h1') {
src.innerHTML = jsOMS.htmlspecialchars_encode(value); src.innerHTML = jsOMS.htmlspecialchars_encode(value);
/*} else if (tagName === 'select') {
return;*/
} else if (src.getAttribute('value') !== null) { } else if (src.getAttribute('value') !== null) {
if (src.value === '') { if (src.value === '') {
src.value = jsOMS.htmlspecialchars_decode(value); src.value = jsOMS.htmlspecialchars_decode(value);