mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
fix(StatusExpress): button width (#1081)
This commit is contained in:
parent
c863e07908
commit
c2be06b58f
1 changed files with 1 additions and 3 deletions
|
@ -766,8 +766,6 @@
|
||||||
<script n:if="isset($thisUser) && $user->getId() == $thisUser->getId()" n:syntax="off">
|
<script n:if="isset($thisUser) && $user->getId() == $thisUser->getId()" n:syntax="off">
|
||||||
function setStatusEditorShown(shown) {
|
function setStatusEditorShown(shown) {
|
||||||
document.getElementById("status_editor").style.display = shown ? "block" : "none";
|
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 => {
|
document.addEventListener("click", event => {
|
||||||
|
|
Loading…
Reference in a new issue