1
0
This commit is contained in:
syui 2024-04-08 03:01:45 +09:00
parent 05a16e618c
commit fa63803bce
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,9 @@
{{ $o := index (split $s "/") 1 }} {{ $o := index (split $s "/") 1 }}
<header id="header"> <header id="header">
<!--
{{ partial "particles.html" . }} {{ partial "particles.html" . }}
-->
<div class="logo"> <div class="logo">
{{ partial "svg.html" . }} {{ partial "svg.html" . }}
</div> </div>

View File

@ -1,16 +1,16 @@
hotkeys('ctrl+enter', function() { hotkeys('ctrl+enter', function() {
var ele = document.getElementById('aiterm'); var ele = document.getElementById('aiterm');
var svg = document.getElementById('aisvg'); var svg = document.getElementById('aisvg');
var par = document.getElementById('particles-js'); //var par = document.getElementById('particles-js');
if (ele.style.display == 'none') { if (ele.style.display == 'none') {
ele.style.display = 'block'; ele.style.display = 'block';
svg.style.display = 'none'; svg.style.display = 'none';
par.style.display = 'none'; //par.style.display = 'none';
ele.focus(); ele.focus();
} else { } else {
ele.style.display = 'none'; ele.style.display = 'none';
svg.style.display = 'block'; svg.style.display = 'block';
par.style.display = 'block'; //par.style.display = 'block';
svg.focus(); svg.focus();
} }
}); });