OSDN Git Service
(root)
/
alterlinux
/
hayao.fascode.net.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa915ed
)
[update] : 空のときの処理を追加した
author
hayao
<shun819.mail@gmail.com>
Tue, 1 Sep 2020 09:20:29 +0000
(18:20 +0900)
committer
hayao
<shun819.mail@gmail.com>
Tue, 1 Sep 2020 09:20:29 +0000
(18:20 +0900)
main.js
patch
|
blob
|
history
diff --git
a/main.js
b/main.js
index
17b6a33
..
746b8cc
100644
(file)
--- a/
main.js
+++ b/
main.js
@@
-49,5
+49,9
@@
function startgen() {
// 出力
document.getElementById('output').innerHTML = "";
- document.getElementById('output').innerHTML = ARGUMENTS;
+ if (ARGUMENTS == "") {
+ document.getElementById('output').innerHTML = "引数は必要ありません";
+ } else {
+ document.getElementById('output').innerHTML = ARGUMENTS;
+ }
}
\ No newline at end of file