Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e2b41ae

Browse files
duplicate notes issues fixed
1 parent b8d3975 commit e2b41ae

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎js/script.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,22 +179,29 @@ function saved_notes_display()
179179
{
180180
notesObj = noteselm
181181

182-
183182
notesObj.forEach(function note_data_extractor(note,ind)
184183
{
185184

185+
186186
for(var title in note)
187187
{
188+
if(all_dom_notes_title.length)
188189
all_dom_notes_title.forEach(function note_exist_in_dom_checker(domtitle,ind)
189190
{
191+
190192

191193
if(title!=domtitle)
192194
{
193-
195+
data = note[title];
196+
add_note(title,data);
194197
}
198+
199+
});
200+
else{
201+
195202
data = note[title];
196203
add_note(title,data);
197-
});
204+
}
198205

199206
}
200207
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /