From 8fba06f304ea4f2ca690bcfe6c61f0d1ccbd0300 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 8 Aug 2012 16:40:53 +0300 Subject: [PATCH] Update client.js --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index 2fd5fcc2..5e11d82f 100644 --- a/client.js +++ b/client.js @@ -654,7 +654,7 @@ CloudClient._setCurrent=(function(){ this.ondblclick(this); /* enter pressed on file */ else{ - var lA = this.getElementsByTagName('a'); + var lA = this.getElementsByTagName('a')[0]; if(typeof lA.ondblclick === 'function') lA.ondblclick(this); }