mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
add comment explaining insertion location.
This commit is contained in:
@@ -269,6 +269,7 @@
|
|||||||
this.parent.parentElement.insertBefore(fragment, this.parent);
|
this.parent.parentElement.insertBefore(fragment, this.parent);
|
||||||
break;
|
break;
|
||||||
case (location.hostname == 'tv.apple.com'):
|
case (location.hostname == 'tv.apple.com'):
|
||||||
|
// insert after parent for correct stacking context
|
||||||
this.parent.getRootNode().host.prepend(fragment);
|
this.parent.getRootNode().host.prepend(fragment);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user