witten
/
luminotes
Archived
1
0
Fork 0

Fixed broken deletion undo.

This commit is contained in:
Dan Helfman 2007-08-23 06:45:42 +00:00
parent d1b8a2201b
commit 094323ee58
1 changed files with 8 additions and 8 deletions

View File

@ -192,7 +192,6 @@ Wiki.prototype.load_editor = function ( note_title, from_iframe_id, note_id, rev
else
pulldown.title_field.value = note_title;
}
}
// if the title looks like a URL, then make it a link to an external site
if ( /^\w+:\/\//.test( note_title ) ) {
@ -202,6 +201,7 @@ Wiki.prototype.load_editor = function ( note_title, from_iframe_id, note_id, rev
return
}
link.removeAttribute( "target" );
}
// if the note corresponding to the link's id is already open, highlight it and bail, but only if
// we didn't pull a title from an open link pulldown