Skip to content

Commit

Permalink
fix(markup): marker pair and global settings editors, flash messages …
Browse files Browse the repository at this point in the history
…(toasts), shortcuts table not injected just below video
  • Loading branch information
exwm committed Aug 12, 2023
1 parent e15d8a2 commit 3edb00e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/markup/platforms/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ export function getVideoPlatformSelectors(platform: VideoPlatforms) {
markersDiv: '.ytp-progress-bar',
theaterModeIndicator: 'ytd-watch-flexy',
progressBar: '.ytp-progress-bar',
settingsEditor: '#info-contents',
settingsEditor: '#below',
settingsEditorTheater: '#player-wide-container',
shortcutsTable: '#info-contents',
frameCapturerProgressBar: '#info-contents',
flashMessage: '#info-contents',
shortcutsTable: '#below',
frameCapturerProgressBar: '#below',
flashMessage: '#below',
cropOverlay: '.html5-video-container',
cropMouseManipulation: '.html5-video-container',
speedChartContainer: '.html5-video-container',
Expand Down
2 changes: 1 addition & 1 deletion src/markup/yt_clipper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3420,7 +3420,7 @@ async function loadytClipper() {
shortcutsTableContainer = document.createElement('div');
shortcutsTableContainer.setAttribute('id', 'shortcutsTableContainer');
shortcutsTableContainer.innerHTML = safeHtml(shortcutsTable);
hooks.shortcutsTable.insertAdjacentElement('afterend', shortcutsTableContainer);
hooks.shortcutsTable.insertAdjacentElement('beforebegin', shortcutsTableContainer);
} else if (shortcutsTableContainer.style.display !== 'none') {
shortcutsTableContainer.style.display = 'none';
} else {
Expand Down

0 comments on commit 3edb00e

Please sign in to comment.