includes/clientside/static/dynano.js
changeset 582 a38876c0793c
parent 493 d8296f89ebb5
child 588 20484deb89cd
--- a/includes/clientside/static/dynano.js	Sun Jun 22 18:13:59 2008 -0400
+++ b/includes/clientside/static/dynano.js	Tue Jun 24 23:37:23 2008 -0400
@@ -7,6 +7,10 @@
 var $dynano = $;
 function DNobj(id)
 {
+  if ( id == undefined )
+  {
+    return {};
+  }
   this.object = ( typeof(id) == 'object' ) ? id : document.getElementById(id);
   if ( !this.object )
   {