Make add_tag_box focus whether hoverzoom toggling on or off
This commit is contained in:
parent
5d53d68cec
commit
6fcdb2f0cd
1 changed files with 4 additions and 4 deletions
|
@ -320,10 +320,6 @@ function disable_hoverzoom()
|
||||||
div.style.backgroundImage = "none";
|
div.style.backgroundImage = "none";
|
||||||
div.onmousemove = null;
|
div.onmousemove = null;
|
||||||
div.onclick = null;
|
div.onclick = null;
|
||||||
if (getComputedStyle(content_body).flexDirection != "column-reverse")
|
|
||||||
{
|
|
||||||
add_tag_box.focus();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
function toggle_hoverzoom()
|
function toggle_hoverzoom()
|
||||||
{
|
{
|
||||||
|
@ -336,6 +332,10 @@ function toggle_hoverzoom()
|
||||||
{
|
{
|
||||||
enable_hoverzoom();
|
enable_hoverzoom();
|
||||||
}
|
}
|
||||||
|
if (getComputedStyle(content_body).flexDirection != "column-reverse")
|
||||||
|
{
|
||||||
|
add_tag_box.focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
photo_img_holder = document.getElementById("photo_img_holder");
|
photo_img_holder = document.getElementById("photo_img_holder");
|
||||||
|
|
Loading…
Reference in a new issue