octalmage / Marknote

Markdown Note Taking.
36 stars 13 forks source link

Need to make sure selectItem isn't ran multiple times. [assets/js/app.js] #24

Closed octalmage closed 10 years ago

octalmage commented 10 years ago

filename : assets/js/app.js line # : 676 tag : todo md5 : c151a486b9151960b373dcf899f675f4

    // [todo] - Need to make sure selectItem isn't ran multiple times.
    selectItem(id);
}

/**
 * Adds a new note to the end of the list, then displays it.
 */
function newNote()
{
    notes.push(newnotetemplate);
    updateList();
    if (displayShowing())
    {
        loadNote(notes.length - 1);
    }
}