Skip to content

Commit

Permalink
fix(StatusExpress): button width (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalfy authored Jan 17, 2024
1 parent c863e07 commit c2be06b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Web/Presenters/templates/User/View.xml
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,6 @@
<script n:if="isset($thisUser) && $user->getId() == $thisUser->getId()" n:syntax="off">
function setStatusEditorShown(shown) {
document.getElementById("status_editor").style.display = shown ? "block" : "none";
if(!document.status_popup_form.submit.style.width)
document.status_popup_form.submit.style.width = document.status_popup_form.submit.offsetWidth + 4 + "px"
}

document.addEventListener("click", event => {
Expand Down Expand Up @@ -820,4 +818,4 @@

{block bodyScripts}
{script "js/al_despacito_wall.js"}
{/block}
{/block}

0 comments on commit c2be06b

Please sign in to comment.