mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-26 08:28:40 +00:00
fix linting bugs
This commit is contained in:
parent
05683e9195
commit
d69d1e20f4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user