close #7 fullscreen text

This commit is contained in:
Matt Walsh 2022-11-14 14:07:55 -06:00
parent 0522cbeaac
commit a4f1035e74
2 changed files with 6 additions and 1 deletions

View file

@ -235,6 +235,9 @@ const index = (() => {
}
navigation.resize();
UpdateFullScreenNavigate();
// change hover text
document.getElementById('ToggleFullScreen').title = 'Exit fullscreen';
};
const ExitFullscreen = () => {
@ -255,6 +258,8 @@ const index = (() => {
document.msExitFullscreen();
}
navigation.resize();
// change hover text
document.getElementById('ToggleFullScreen').title = 'Enter fullscreen';
};
const btnNavigateMenuClick = () => {

View file

@ -128,7 +128,7 @@
<img id="NavigateRefresh" class="navButton" src="images/nav/ic_refresh_white_24dp_1x.png" title="Refresh" />
</div>
<div id="divTwcBottomRight">
<img id="ToggleFullScreen" class="navButton" src="images/nav/ic_fullscreen_exit_white_24dp_1x.png" title="Exit Fullscreen" />
<img id="ToggleFullScreen" class="navButton" src="images/nav/ic_fullscreen_exit_white_24dp_1x.png" title="Enter Fullscreen" />
</div>
</div>
</div>