mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
175f4e929a
commit
a9b281ea1c
|
@ -1436,18 +1436,6 @@ def clickToDropDownScript() -> str:
|
|||
'function dropdown() {\n' \
|
||||
' document.getElementById("myDropdown").classList.toggle("show");\n' \
|
||||
'}\n'
|
||||
#'window.onclick = function(event) {' \
|
||||
#" if (!event.target.matches('.dropbtn')) {" \
|
||||
#' var dropdowns = document.getElementsByClassName("dropdown-content");' \
|
||||
#' var i;' \
|
||||
#' for (i = 0; i < dropdowns.length; i++) {' \
|
||||
#' var openDropdown = dropdowns[i];' \
|
||||
#" if (openDropdown.classList.contains('show')) {" \
|
||||
#" openDropdown.classList.remove('show');" \
|
||||
#' }' \
|
||||
#' }' \
|
||||
#' }' \
|
||||
#'}'
|
||||
return script
|
||||
|
||||
def cursorToEndOfMessageScript() -> str:
|
||||
|
@ -1785,6 +1773,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
|||
|
||||
displayName=getDisplayName(baseDir,postJsonObject['actor'],personCache)
|
||||
if displayName:
|
||||
if ':' in displayName:
|
||||
displayName= \
|
||||
addEmojiToDisplayName(baseDir,httpPrefix, \
|
||||
nickname,domain, \
|
||||
|
@ -1964,6 +1953,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
|||
if avatarUrl2:
|
||||
avatarUrl=avatarUrl2
|
||||
if displayName:
|
||||
if ':' in displayName:
|
||||
displayName= \
|
||||
addEmojiToDisplayName(baseDir,httpPrefix, \
|
||||
nickname,domain, \
|
||||
|
|
Loading…
Reference in New Issue