ugoiras: don't initialize notes on ugoiras.

Fixes note font scaling increasing the size of the ugoira playback controls.
This commit is contained in:
evazion
2020-08-18 11:06:19 -05:00
parent 975d42c9ac
commit d98dd0bb6d

View File

@@ -883,7 +883,7 @@ class Note {
}
static initialize_all() {
if ($("#c-posts #a-show #image").length === 0 || $("video#image").length) {
if ($("#c-posts #a-show #image").length === 0 || $("video#image").length || $("canvas#image").length) {
return;
}