We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19729d8 + 55d70f1 commit db5d27cCopy full SHA for db5d27c
index-mobile.html
@@ -122,6 +122,9 @@ <h2>{{title}}</h2>
122
let {
123
text, title, color
124
} = this.note
125
+ if (text === '') {
126
+ return ;
127
+ }
128
this.notes.push({
129
text,
130
date: new Date(Date.now()).toLocaleString(),
index.html
@@ -157,6 +157,9 @@ <h2>{{title}}</h2>
157
158
159
160
161
+ return;
162
163
164
165
0 commit comments