W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/spec-author-view dfn.js,1.25,1.26

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 May 2011 06:35:32 +0000
To: public-html-commits@w3.org
Message-Id: <E1QJK44-0006oI-30@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv26157

Modified Files:
	dfn.js 
Log Message:
updated

Index: dfn.js
===================================================================
RCS file: /sources/public/html5/spec-author-view/dfn.js,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- dfn.js	8 May 2011 12:46:36 -0000	1.25
+++ dfn.js	9 May 2011 06:35:30 -0000	1.26
@@ -79,7 +79,8 @@
       }
     }
   }
-  if ((key === 32 || key === 13) && !dfnPanel) {
+  if ((key === 32 || key === 13)
+      && (!dfnPanel || dfnPanel.style.display === "none") {
     window.dfnShow(e);
     if (e.target.nodeName === "DFN") {
       e.preventDefault();
Received on Monday, 9 May 2011 06:35:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 May 2011 06:35:35 GMT