Fix: mouseover
This commit is contained in:
parent
81a3da550f
commit
8784cae01c
|
@ -227,6 +227,18 @@ iframe,
|
||||||
grid-template-rows: auto 1.6rem 1fr auto 2.5rem;
|
grid-template-rows: auto 1.6rem 1fr auto 2.5rem;
|
||||||
grid-template-areas: "notice notice notice" "icon display_name display_name" "space toot toot" "space additional additional" "vis actions side";
|
grid-template-areas: "notice notice notice" "icon display_name display_name" "space toot toot" "space additional additional" "vis actions side";
|
||||||
}
|
}
|
||||||
|
.hide-actions{
|
||||||
|
grid-template-rows: auto 1.6rem 1fr auto 0;
|
||||||
|
}
|
||||||
|
.hide-actions .area-actions{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
.hide-actions .area-vis{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
.hide-actions .area-side{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
.cvo h1,
|
.cvo h1,
|
||||||
.cvo h2,
|
.cvo h2,
|
||||||
.cvo h3,
|
.cvo h3,
|
||||||
|
@ -325,6 +337,7 @@ iframe,
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
grid-area: side;
|
grid-area: side;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote-inline {
|
.quote-inline {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -238,6 +238,7 @@ function cardCheck(tlid) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function mov(id, tlid, type) {
|
function mov(id, tlid, type) {
|
||||||
|
var click = false
|
||||||
if (tlid == "notf") {
|
if (tlid == "notf") {
|
||||||
var tlide = "[data-notf=" + acct_id + "]";
|
var tlide = "[data-notf=" + acct_id + "]";
|
||||||
} else if (tlid == "user") {
|
} else if (tlid == "user") {
|
||||||
|
@ -257,12 +258,21 @@ function mov(id, tlid, type) {
|
||||||
} else {
|
} else {
|
||||||
mouseover = "hide";
|
mouseover = "hide";
|
||||||
}
|
}
|
||||||
|
click=true
|
||||||
} else if (mouseover == "no") {
|
} else if (mouseover == "no") {
|
||||||
mouseover = "";
|
mouseover = "";
|
||||||
}
|
}
|
||||||
if (mouseover == "hide") {
|
if (mouseover == "hide") {
|
||||||
$(tlide + " [toot-id=" + id + "] .area-actions").toggleClass("hide")
|
if(click){
|
||||||
$(tlide + " [toot-id=" + id + "] .area-side").toggleClass("hide")
|
$(tlide + " [toot-id=" + id + "]").toggleClass("hide-actions")
|
||||||
|
}else{
|
||||||
|
$(tlide + " [toot-id=" + id + "]").removeClass("hide-actions")
|
||||||
|
}
|
||||||
|
|
||||||
|
//$(tlide + " [toot-id=" + id + "] .area-vis").toggleClass("hide")
|
||||||
|
//$(tlide + " [toot-id=" + id + "] .area-actions").toggleClass("hide")
|
||||||
|
//$(tlide + " [toot-id=" + id + "] .area-side").toggleClass("hide")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,8 +288,10 @@ function resetmv(type) {
|
||||||
mouseover = "hide";
|
mouseover = "hide";
|
||||||
}
|
}
|
||||||
if (mouseover == "hide") {
|
if (mouseover == "hide") {
|
||||||
$(".area-actions").addClass("hide");
|
$(".cvo").addClass("hide-actions")
|
||||||
$(".area-side").addClass("hide");
|
//$(".area-vis").addClass("hide");
|
||||||
|
//$(".area-actions").addClass("hide");
|
||||||
|
//$(".area-side").addClass("hide");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user