2024-04-05 08:46:22 +00:00
|
|
|
hotkeys('ctrl+enter', function() {
|
|
|
|
var ele = document.getElementById('aiterm');
|
|
|
|
var svg = document.getElementById('aisvg');
|
2024-04-07 17:50:00 +00:00
|
|
|
var par = document.getElementById('particles-js');
|
2024-04-05 08:46:22 +00:00
|
|
|
if (ele.style.display == 'none') {
|
|
|
|
ele.style.display = 'block';
|
|
|
|
svg.style.display = 'none';
|
2024-04-07 17:50:00 +00:00
|
|
|
par.style.display = 'none';
|
2024-04-05 08:46:22 +00:00
|
|
|
ele.focus();
|
|
|
|
} else {
|
|
|
|
ele.style.display = 'none';
|
|
|
|
svg.style.display = 'block';
|
2024-04-07 17:50:00 +00:00
|
|
|
par.style.display = 'block';
|
2024-04-05 08:46:22 +00:00
|
|
|
svg.focus();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|