debug console logs for AN show/hide

This commit is contained in:
RossAscends
2023-05-21 17:35:29 +09:00
parent e783a649a0
commit 0baacfbaed

View File

@ -5676,10 +5676,13 @@ $(document).ready(function () {
duration: 250, duration: 250,
easing: animation_easing, easing: animation_easing,
}); });
console.log('displayed AN panel');
if ($("#ANBlockToggle") if ($("#ANBlockToggle")
.siblings('.inline-drawer-content') .siblings('.inline-drawer-content')
.css('display') !== 'block') { .css('display') !== 'block') {
$("#ANBlockToggle").click(); $("#ANBlockToggle").click();
console.log('opened AN box');
} }
} else { } else {
$("#floatingPrompt").transition({ $("#floatingPrompt").transition({
@ -5687,7 +5690,11 @@ $(document).ready(function () {
duration: 250, duration: 250,
easing: animation_easing, easing: animation_easing,
}); });
setTimeout(function () { $("#floatingPrompt").hide(); }, 250); setTimeout(function () {
$("#floatingPrompt").hide();
console.log('hid AN panel');
}, 250);
} }
} }