From 84fe2728dae56d92d3f62b7896fb07cdbf63538e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 6 Feb 2012 02:38:53 -0500 Subject: [PATCH] Replace setAttribute("oncommand", ...) with addEventListener() For AMO validator --- chrome/content/zotero/standalone/standalone.js | 3 ++- chrome/content/zotero/zoteroPane.js | 6 ++++-- chrome/content/zotero/zoteroPane.xul | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index 6fac216219..1c9bea03ac 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -103,8 +103,9 @@ const ZoteroStandalone = new function() { for (var i = 0; i