From d69d1e20f44b8f66544403ed47fe0ff1e3e3df83 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 21 Sep 2023 01:03:47 +0000 Subject: [PATCH] fix linting bugs --- UI/GeneralUI.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/UI/GeneralUI.js b/UI/GeneralUI.js index 35af418..e1594ed 100755 --- a/UI/GeneralUI.js +++ b/UI/GeneralUI.js @@ -1,9 +1,9 @@ import { UriFactory } from '../Uri/UriFactory.js'; import { AdvancedInput } from './Component/AdvancedInput.js'; -//import { NotificationLevel } from '../Message/Notification/NotificationLevel.js'; -//import { NotificationMessage } from '../Message/Notification/NotificationMessage.js'; -//import { NotificationType } from '../Message/Notification/NotificationType.js'; +// import { NotificationLevel } from '../Message/Notification/NotificationLevel.js'; +// import { NotificationMessage } from '../Message/Notification/NotificationMessage.js'; +// import { NotificationType } from '../Message/Notification/NotificationType.js'; /** * UI manager for handling basic ui elements. @@ -349,8 +349,6 @@ export class GeneralUI const tagName = src.tagName.toLowerCase(); if (tagName === 'h1') { src.innerHTML = jsOMS.htmlspecialchars_encode(value); - /*} else if (tagName === 'select') { - return;*/ } else if (src.getAttribute('value') !== null) { if (src.value === '') { src.value = jsOMS.htmlspecialchars_decode(value);