witten
/
luminotes
Archived
1
0
Fork 0

A bit safer.

This commit is contained in:
Dan Helfman 2009-02-06 15:01:46 -08:00
parent 53b4aa571d
commit 6bf81cd2cb
1 changed files with 3 additions and 0 deletions

View File

@ -464,6 +464,9 @@ Wiki.prototype.populate = function ( startup_notes, current_notes, note_read_wri
}
Wiki.prototype.background_clicked = function ( event ) {
if ( !event.target().tagName )
return;
var tag_name = event.target().tagName.toLowerCase();
if ( tag_name == "input" || tag_name == "label" )