From 3d39b7d52763d1aa337ccc17482ca54af530fb1f Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Tue, 20 Sep 2011 13:14:59 -0400 Subject: [PATCH] Updates rmouseEvent --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.js b/src/event.js index 7fdcba5ad..2ae41a458 100644 --- a/src/event.js +++ b/src/event.js @@ -7,7 +7,7 @@ var rnamespaces = /\.(.*)$/, rescape = /[^\w\s.|`]/g, rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/, rhoverHack = /\bhover(\.\S+)?/, - rmouseEvent = /^(?:mouse)|(?:click)|(contextmenu)/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, rquickIs = /^([\w\-]+)?(?:#([\w\-]+))?(?:\.([\w\-]+))?(?:\[([\w+\-]+)=["']?([\w\-]*)["']?\])?(?::(first-child|last-child|empty))?$/, quickPseudoMap = { "empty": "firstChild", -- 2.39.5