witten
/
luminotes
Archived
1
0
Fork 0

Prevent clicks on the pulldown's background from closing the pulldown.

This commit is contained in:
Dan Helfman 2009-05-15 16:05:27 -07:00
parent c7d7d6f58c
commit d7a2558dbe
1 changed files with 3 additions and 0 deletions

View File

@ -3213,6 +3213,9 @@ function Pulldown( wiki, notebook_id, pulldown_id, anchor, relative_to, ephemera
self.ephemeral = true;
} );
}
// prevent clicks on the pulldown's background from closing the pulldown
connect( this.div, "onclick", function ( event ) { event.stop(); } );
}
Pulldown.prototype.finish_init = function () {