mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +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 => {
|
||||||
|
@ -820,4 +818,4 @@
|
||||||
|
|
||||||
{block bodyScripts}
|
{block bodyScripts}
|
||||||
{script "js/al_despacito_wall.js"}
|
{script "js/al_despacito_wall.js"}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
Loading…
Reference in a new issue