Cleanup of logic and look.

This commit is contained in:
Maxim Stewart 2018-04-22 03:58:59 -05:00
parent ce7e86cbef
commit ce38511904
1 changed files with 7 additions and 7 deletions

View File

@ -62,7 +62,8 @@ function updateHTMLDirList(returnData) {
if (thumbnail.match(/000\.(jpg|png|gif)\b/) == null &&
!thumbnail.includes("favicon.png")) {
insertArea.innerHTML += "<img id=\"imageID\" class=\"iconImg\""
insertArea.innerHTML +=
"<img id=\"imageID\" class=\"iconImg\""
+ " src=\"" + path + thumbnail
+ "\" alt=\"" + thumbnail + "\"/>";
}
@ -84,8 +85,7 @@ function updateHTMLDirList(returnData) {
+ setFileIconType(fileName);
insertArea.innerHTML +=
"<div class=\"fileStyle\">"
+ iconImg
"<div class=\"fileStyle\">" + iconImg
+ "<input type=\"text\" id=\"titleID\" class=\"fileTitle\""
+ " readonly=\"true\"" + " value=\"" + fileName + "\" "
+ " onfocusout=\"disableEdits(this)\"/>"