|
@@ -60,26 +60,25 @@
|
|
|
<script src="js/konami.js"></script>
|
|
|
<script src="js/loaded.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
-
|
|
|
|
|
|
- //fullscreen();
|
|
|
-
|
|
|
- function fullscreen() {
|
|
|
+ function fullscreen(closeBtn = true) {
|
|
|
const pos = $('#' + windowMode).position();
|
|
|
if (!$('#' + windowMode).hasClass('fullscreen')) {
|
|
|
$('#' + windowMode).css('top', Math.trunc(pos.top) + 'px');
|
|
|
$('#' + windowMode).css('left', Math.trunc(pos.left) + 'px');
|
|
|
$('#' + windowMode).css('position', 'fixed');
|
|
|
+ localStorage.setItem('show-page', false);
|
|
|
} else {
|
|
|
$('#' + windowMode).one('transitionend', function() {
|
|
|
$('#' + windowMode).css('top', '');
|
|
|
$('#' + windowMode).css('left', '');
|
|
|
$('#' + windowMode).css('position', '');
|
|
|
});
|
|
|
+ localStorage.setItem('show-page', true);
|
|
|
}
|
|
|
|
|
|
$('#' + windowMode).toggleClass('fullscreen');
|
|
|
- $('#close-fs').toggleClass('hide');
|
|
|
+ if (closeBtn) $('#close-fs').toggleClass('hide');
|
|
|
}
|
|
|
|
|
|
function show() {
|