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