Fix cursor showing as text highlight not hand

This commit is contained in:
Andrew 2022-03-04 17:58:18 -05:00
parent cd33383cd2
commit 55852de3d9
2 changed files with 4 additions and 4 deletions

View File

@ -688,7 +688,7 @@ class Helpers:
else:
if filename != "crafty_managed.txt":
output += f"""<li
class="tree-nested d-block tree-ctx-item tree-file"
class="tree-nested d-block tree-ctx-item tree-file tree-item"
data-path="{dpath}"
data-name="{filename}"
onclick="clickOnFile(event)"><span style="margin-right: 6px;"><i class="far fa-file"></i></span>{filename}</li>"""
@ -726,7 +726,7 @@ class Helpers:
else:
if filename != "crafty_managed.txt":
output += f"""<li
class="tree-nested d-block tree-ctx-item tree-file"
class="tree-nested d-block tree-ctx-item tree-file tree-item"
data-path="{dpath}"
data-name="{filename}"
onclick="clickOnFile(event)"><span style="margin-right: 6px;"><i class="far fa-file"></i></span>{filename}</li>"""

View File

@ -207,7 +207,7 @@ class AjaxHandler(BaseHandler):
else:
output += f"""<li
class="tree-item tree-ctx-item tree-file"
class="tree-item tree-nested d-block tree-ctx-item tree-file"
data-path="{dpath}"
data-name="{filename}"
onclick=""><input type='checkbox' name='root_path' value='{dpath}'><span style="margin-right: 6px;">
@ -228,7 +228,7 @@ class AjaxHandler(BaseHandler):
else:
output += f"""<li
class="tree-item tree-ctx-item tree-file"
class="tree-item tree-nested d-block tree-ctx-item tree-file"
data-path="{dpath}"
data-name="{filename}"
onclick=""><input type='checkbox' name='root_path' value='{dpath}'>